protected function _connect() { // if we already have a PDO object, no need to re-connect.
if ($this->_connection
) { return;
} if (!
$this->dbalConnection
) { throw new RuntimeException(sprintf('Class can only be constructed using %s::createFromDbalConnectionAndConfig().', __CLASS__
));
} $this->_connection =
$this->dbalConnection->
getWrappedConnection();
}}