interface ConnectionProvider (View source)

Interface for objects that can initialize and provide the PDO instance for database connectors.

Methods

PDO
getConnection()

Provides the active PDO connection and initializes it if necessary.

Details

PDO getConnection()

Provides the active PDO connection and initializes it if necessary.

Return Value

PDO An active PDO connection