eZ\Publish\Core\FieldType\BinaryBase\BinaryBaseStorage\Gateway\LegacyStorage::getConnection PHP 메소드

getConnection() 보호된 메소드

Returns the active connection.
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;
    }