1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
-
-
- namespace Doctrine\DBAL\Event;
-
- use Doctrine\Common\EventArgs,
- Doctrine\DBAL\Connection;
-
-
- class ConnectionEventArgs extends EventArgs
- {
-
-
- private $_connection = null;
-
- public function __construct(Connection $connection)
- {
- $this->_connection = $connection;
- }
-
-
-
- public function getConnection()
- {
- return $this->_connection;
- }
-
-
-
- public function getDriver()
- {
- return $this->_connection->getDriver();
- }
-
-
-
- public function getDatabasePlatform()
- {
- return $this->_connection->getDatabasePlatform();
- }
-
-
-
- public function getSchemaManager()
- {
- return $this->_connection->getSchemaManager();
- }
- }
|