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

getName() public method

public getName ( )
    public function getName()
    {
        return $this->name;
    }

Usage Example

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