Connection
in package
Table of Contents
- USER_CONFIGURATION_KEY = "statistics_overview_database"
- $userConfigurationService : CurrentUserConfigurationService
- __construct() : mixed
- Constructor.
- createConnection() : Store
- Return database connection.
Constants
USER_CONFIGURATION_KEY
private
mixed
USER_CONFIGURATION_KEY
= "statistics_overview_database"
Properties
$userConfigurationService
private
CurrentUserConfigurationService
$userConfigurationService
Methods
__construct()
Constructor.
public
__construct(CurrentUserConfigurationService $userConfigurationService) : mixed
Parameters
- $userConfigurationService : CurrentUserConfigurationService
Return values
mixed —createConnection()
Return database connection.
public
createConnection(string $databaseDirectory) : Store
Parameters
- $databaseDirectory : string