/**
* Returns all IDs for locations that refer to $contentId
*
* @param int $contentId
*
* @return int[]
*/
public function getAllLocationIds($contentId)
{
try {
return $this->innerGateway->getAllLocationIds($contentId);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}