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

getPath() public method

public getPath ( )
    public function getPath()
    {
        return $this->path;
    }

Usage Example

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