protected getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler | ||
return | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
protected function getConnection()
{
if ($this->dbHandler === null) {
throw new RuntimeException('Missing database connection.');
}
return $this->dbHandler;
}