src/mako/cache/CacheManager.php
protected function databaseFactory(array $configuration): Database
	{
		return (new Database($this->container->get(DatabaseConnectionManager::class)->connection($configuration['configuration']), $configuration['table'], $this->classWhitelist))->setPrefix($configuration['prefix'] ?? '');
	}
protected function databaseFactory(array $configuration): Database
	{
		return (new Database($this->container->get(DatabaseConnectionManager::class)->connection($configuration['configuration']), $configuration['table'], $this->classWhitelist))->setPrefix($configuration['prefix'] ?? '');
	}
protected function databaseFactory ( array $ configuration ) : Database { return ( new Database ( $ this -> container -> get ( DatabaseConnectionManager :: class ) -> connection ( $ configuration [ 'configuration' ] ) , $ configuration [ 'table' ] , $ this -> classWhitelist ) ) -> setPrefix ( $ configuration [ 'prefix' ] ?? '' ) ; }
Database store factory.

@param  array                       $configuration Configuration
@return \mako\cache\stores\Database
Database store factory .