/**
* Loads data of related to/from $contentId
*
* @param int $contentId
* @param int $contentVersionNo
* @param int $relationType
*
* @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()}
*/
public function loadRelations($contentId, $contentVersionNo = null, $relationType = null)
{
try {
return $this->innerGateway->loadRelations($contentId, $contentVersionNo, $relationType);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}