Imbo\Auth\AccessControl\Adapter\Mongo::getAclCollection PHP Метод

getAclCollection() приватный Метод

Get the ACL mongo collection
private getAclCollection ( ) : MongoDB\Collection
Результат MongoDB\Collection
    private function getAclCollection()
    {
        if ($this->aclCollection === null) {
            try {
                $this->aclCollection = $this->getMongoClient()->selectCollection($this->params['databaseName'], 'accesscontrol');
            } catch (MongoException $e) {
                throw new DatabaseException('Could not select collection', 500, $e);
            }
        }
        return $this->aclCollection;
    }