PhalconRest\Api::getCollection PHP Method

getCollection() public method

public getCollection ( $name ) : ApiCollection | null
$name
return PhalconRest\Api\ApiCollection | null
    public function getCollection($name)
    {
        return array_key_exists($name, $this->collectionsByName) ? $this->collectionsByName[$name] : null;
    }