public function getStored()
    {
        $stored = [];
        try {
            $query = (new Query)->from(static::tableName())->all();
            if (!empty($query)) {
                foreach ($query as $setting) {
                    $stored[$setting['name']] = $setting['value'];
                }
            }
        } catch (Exception $e) {
            if (Podium::getInstance()->getInstalled()) {
                Log::error($e->getMessage(), null, __METHOD__);
            }
        }
        return $stored;
    }
public function getStored()
    {
        $stored = [];
        try {
            $query = (new Query)->from(static::tableName())->all();
            if (!empty($query)) {
                foreach ($query as $setting) {
                    $stored[$setting['name']] = $setting['value'];
                }
            }
        } catch (Exception $e) {
            if (Podium::getInstance()->getInstalled()) {
                Log::error($e->getMessage(), null, __METHOD__);
            }
        }
        return $stored;
    }
public function getStored ( ) { $ stored = [ ] ; try { $ query = ( new Query ) -> from ( static :: tableName ( ) ) -> all ( ) ; if ( ! empty ( $ query ) ) { foreach ( $ query as $ setting ) { $ stored [ $ setting [ 'name' ] ] = $ setting [ 'value' ] ; } } } catch ( Exception $ e ) { if ( Podium :: getInstance ( ) -> getInstalled ( ) ) { Log :: error ( $ e -> getMessage ( ) , null , __METHOD__ ) ; } } return $ stored ; }
Returns stored configuration values.
These can be empty if configuration has not been modified.
@return array
@since 0.6
Returns stored configuration values . These can be empty if configuration has not been modified .