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