123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace Doctrine\DBAL\Event;
- use Doctrine\Common\EventArgs;
- use Doctrine\DBAL\Connection;
- class ConnectionEventArgs extends EventArgs
- {
-
- private $_connection;
-
- 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();
- }
- }
|