GenericConnectionProvider
class GenericConnectionProvider implements ConnectionProvider (View source)
A generic lazy loading connector that can take any kind of PDO data source name.
Methods
__construct(string $dsn, string $username, string $password, array $options)
GenericConnectionProvider constructor.
getConnection()
Provides the active PDO connection and initializes it if necessary.
initializeConnection()
Initializes the PDO connection when first requested.
Details
at line 35
__construct(string $dsn, string $username, string $password, array $options)
GenericConnectionProvider constructor.