PhalconRest\Export\Documentation\ApiCollection::getFields PHP Method

getFields() public method

public getFields ( )
    public function getFields()
    {
        return $this->fields;
    }

Usage Example

 public function transform(DocumentationCollection $collection)
 {
     return ['name' => $collection->getName(), 'description' => $collection->getDescription(), 'prefix' => $collection->getPath(), 'fields' => $collection->getFields()];
 }