/**
* Loads list of aliases by given $locationId.
*
* @param mixed $locationId
* @param bool $custom
* @param mixed $languageId
*
* @return array
*/
public function loadLocationEntries($locationId, $custom = false, $languageId = false)
{
try {
return $this->innerGateway->loadLocationEntries($locationId, $custom);
} catch (DBALException $e) {
throw new \RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new \RuntimeException('Database error', 0, $e);
}
}