public function getAclResources()
{
$apiEndpointIdentifiers = array_map(function (ApiEndpoint $apiEndpoint) {
return $apiEndpoint->getIdentifier();
}, $this->endpointsByName);
return [[new \Phalcon\Acl\Resource($this->getIdentifier(), $this->getName()), $apiEndpointIdentifiers]];
}