src/Configuration.php
public function toArray()
    {
        $out = [];
        foreach ($this as $key => $value) {
            $getter = sprintf('get%s', $key);
            if (!is_object($value) && method_exists($this, $getter)) {
                $out[$key] = call_user_func([$this, $getter]);
            }
        }

        return $out;
    }
public function toArray()
    {
        $out = [];
        foreach ($this as $key => $value) {
            $getter = sprintf('get%s', $key);
            if (!is_object($value) && method_exists($this, $getter)) {
                $out[$key] = call_user_func([$this, $getter]);
            }
        }

        return $out;
    }
public function toArray ( ) { $ out = [ ] ; foreach ( $ this as $ key => $ value ) { $ getter = sprintf ( 'get%s' , $ key ) ; if ( ! is_object ( $ value ) && method_exists ( $ this , $ getter ) ) { $ out [ $ key ] = call_user_func ( [ $ this , $ getter ] ) ; } } return $ out ; }
Returns an array-representation of configuration.

@return array
Returns an array - representation of configuration .