1234567891011121314151617181920212223242526272829303132333435 |
- <?php
-
- namespace Doctrine\Tests;
-
- class DbalFunctionalTestCase extends DbalTestCase
- {
-
-
- private static $_sharedConn;
-
-
-
- protected $_conn;
-
- protected function resetSharedConn()
- {
- if (self::$_sharedConn) {
- self::$_sharedConn->close();
- self::$_sharedConn = null;
- }
- }
-
- protected function setUp()
- {
- if ( ! isset(self::$_sharedConn)) {
- self::$_sharedConn = TestUtil::getConnection();
- }
- $this->_conn = self::$_sharedConn;
- }
- }
|