/** * @param Connection $connection * @return Pgsql */ public function registerConnection(Connection $connection) { $this->connection = $connection; $this->connection->setDriver($this); return $this; }