src/PhalconRest/Transformers/ModelTransformer.php
/**
     * @return array Properties to be included in the response
     */
@return array Properties to be included in the response
@return array Properties to be included in the response
protected function includedProperties()
    {
        $attributes = $this->getModelAttributes();
        $columnMap = $this->getModelColumnMap();
        if (!is_array($columnMap)) {
            return $attributes;
        }
        return array_map(function ($attribute) use ($columnMap) {
            return array_key_exists($attribute, $columnMap) ? $columnMap[$attribute] : $attribute;
        }, $attributes);
    }
protected function includedProperties ( ) { $ attributes = $ this -> getModelAttributes ( ) ; $ columnMap = $ this -> getModelColumnMap ( ) ; if ( ! is_array ( $ columnMap ) ) { return $ attributes ; } return array_map ( function ( $ attribute ) use ( $ columnMap ) { return array_key_exists ( $ attribute , $ columnMap ) ? $ columnMap [ $ attribute ] : $ attribute ; } , $ attributes ) ; }
@return array Properties to be included in the response
@return array Properties to be included in the response