src/RocknRoot/StrayFw/Database/Postgres/Model.php
public function toArray() : array
    {
        $values = array();
        foreach ($this->getAllFieldsAliases() as $name) {
            $field = $this->{'field' . ucfirst($name)};
            $values[$name] = $field['value'];
        }

        return $values;
    }
public function toArray() : array
    {
        $values = array();
        foreach ($this->getAllFieldsAliases() as $name) {
            $field = $this->{'field' . ucfirst($name)};
            $values[$name] = $field['value'];
        }

        return $values;
    }
public function toArray ( ) : array { $ values = array ( ) ; foreach ( $ this -> getAllFieldsAliases ( ) as $ name ) { $ field = $ this -> { 'field' . ucfirst ( $ name ) } ; $ values [ $ name ] = $ field [ 'value' ] ; } return $ values ; }
Get field values as associative array (alias => value).

@return array values
Get field values as associative array ( alias = > value ) .