eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway\ExceptionConversion::loadRow PHP Method

loadRow() public method

Loads single row data matched by composite primary key.
public loadRow ( mixed $parentId, string $textMD5 ) : array
$parentId mixed
$textMD5 string
return array
    public function loadRow($parentId, $textMD5)
    {
        try {
            return $this->innerGateway->loadRow($parentId, $textMD5);
        } catch (DBALException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        }
    }