src/mako/application/services/SessionService.php
protected function getDatabaseStore(Container $container, array $config, $classWhitelist)
	{
		return new Database($container->get(DatabaseConnectionManager::class)->connection($config['configuration']), $config['table'], $classWhitelist);
	}
protected function getDatabaseStore(Container $container, array $config, $classWhitelist)
	{
		return new Database($container->get(DatabaseConnectionManager::class)->connection($config['configuration']), $config['table'], $classWhitelist);
	}
protected function getDatabaseStore ( Container $ container , array $ config , $ classWhitelist ) { return new Database ( $ container -> get ( DatabaseConnectionManager :: class ) -> connection ( $ config [ 'configuration' ] ) , $ config [ 'table' ] , $ classWhitelist ) ; }
Returns a database store instance.

@param  \mako\syringe\Container       $container      Container
@param  array                         $config         Store configuration
@param  bool|array                    $classWhitelist Class whitelist
@return \mako\session\stores\Database
Returns a database store instance .