Exemplo n.º 1
0
 public function getQuery($driver)
 {
     if (!$driver instanceof IDriver) {
         $driver = DriverFactory::getDriver($driver);
     }
     return $driver->makeQuery($this);
 }
Exemplo n.º 2
0
 /**
  * @return \T4\Dbal\IDriver
  */
 public function getDriver()
 {
     return DriverFactory::getDriver($this->getDriverName());
 }