@@ 78-85 (lines=8) @@ | ||
75 | * @return \stdClass |
|
76 | * @throws \RuntimeException |
|
77 | */ |
|
78 | public function getListLines(array $lines, DateTime $date) |
|
79 | { |
|
80 | $params = [ |
|
81 | 'Lines' => join('|', $lines), |
|
82 | 'SelectDate' => $date->format('d/m/Y'), |
|
83 | ]; |
|
84 | return $this->callBusService('GetListLines.php', $params); |
|
85 | } |
|
86 | ||
87 | /** |
|
88 | * Return details about all line groups. |
|
@@ 106-113 (lines=8) @@ | ||
103 | * @return \stdClass |
|
104 | * @throws \RuntimeException |
|
105 | */ |
|
106 | public function getTimesLines(array $lines, DateTime $date) |
|
107 | { |
|
108 | $params = [ |
|
109 | 'Lines' => join('|', $lines), |
|
110 | 'SelectDate' => $date->format('d/m/Y'), |
|
111 | ]; |
|
112 | return $this->callBusService('GetTimesLines.php', $params); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * Return timetable details of one or more lines. |
|
@@ 123-130 (lines=8) @@ | ||
120 | * @return \stdClass |
|
121 | * @throws \RuntimeException |
|
122 | */ |
|
123 | public function getTimeTableLines(array $lines, DateTime $date) |
|
124 | { |
|
125 | $params = [ |
|
126 | 'Lines' => join('|', $lines), |
|
127 | 'SelectDate' => $date->format('d/m/Y'), |
|
128 | ]; |
|
129 | return $this->callBusService('GetTimeTableLines.php', $params); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * Return details of one or more bus stops including name, served lines |