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

getDescription() public method

public getDescription ( )
    public function getDescription()
    {
        return $this->description;
    }

Usage Example

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