abstract public getChildren ( mixed $locationId ) : array | ||
$locationId | mixed | |
return | array |
public abstract function getChildren($locationId);
/** * Returns data for the first level children of the location identified by given $locationId * * @param mixed $locationId * * @return array */ public function getChildren($locationId) { try { return $this->innerGateway->getChildren($locationId); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }