Exemplo n.º 1
0
 public function extend($extender_name)
 {
     // The extender can be anywhere so this needs to go to the registry, which
     // is surely loaded by now.
     $class = $this->connection->getDriverClass($extender_name, array(), TRUE);
     return new $class($this, $this->connection);
 }