Method | Description | |
---|---|---|
__invoke ( Interop\Container\ContainerInterface $container ) : |
||
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : |
Provided for backwards compatibility; proxies to __invoke(). |
Method | Description | |
---|---|---|
getMongoDb ( Interop\Container\ContainerInterface $container, array | ArrayAccess $config ) : MongoDB | Get the mongo database | |
getOauth2ServerConfig ( array | ArrayAccess $config ) : array | Retrieve oauth2-server-php configuration |
public __invoke ( Interop\Container\ContainerInterface $container ) : |
||
$container | Interop\Container\ContainerInterface | |
return |
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : |
||
$container | Zend\ServiceManager\ServiceLocatorInterface | |
return |
protected getMongoDb ( Interop\Container\ContainerInterface $container, array | ArrayAccess $config ) : MongoDB | ||
$container | Interop\Container\ContainerInterface | |
$config | array | ArrayAccess | |
return | MongoDB |
protected getOauth2ServerConfig ( array | ArrayAccess $config ) : array | ||
$config | array | ArrayAccess | |
return | array |