1 | <?php |
||
10 | class TrainTrip extends Trip |
||
11 | { |
||
12 | /** |
||
13 | * The platform where the train arrives. |
||
14 | * |
||
15 | * @param string|string[] $arrivalPlatform |
||
16 | * |
||
17 | * @return static |
||
18 | * |
||
19 | * @see http://schema.org/arrivalPlatform |
||
20 | */ |
||
21 | public function arrivalPlatform($arrivalPlatform) |
||
25 | |||
26 | /** |
||
27 | * The station where the train trip ends. |
||
28 | * |
||
29 | * @param TrainStation|TrainStation[] $arrivalStation |
||
30 | * |
||
31 | * @return static |
||
32 | * |
||
33 | * @see http://schema.org/arrivalStation |
||
34 | */ |
||
35 | public function arrivalStation($arrivalStation) |
||
39 | |||
40 | /** |
||
41 | * The platform from which the train departs. |
||
42 | * |
||
43 | * @param string|string[] $departurePlatform |
||
44 | * |
||
45 | * @return static |
||
46 | * |
||
47 | * @see http://schema.org/departurePlatform |
||
48 | */ |
||
49 | public function departurePlatform($departurePlatform) |
||
53 | |||
54 | /** |
||
55 | * The station from which the train departs. |
||
56 | * |
||
57 | * @param TrainStation|TrainStation[] $departureStation |
||
58 | * |
||
59 | * @return static |
||
60 | * |
||
61 | * @see http://schema.org/departureStation |
||
62 | */ |
||
63 | public function departureStation($departureStation) |
||
67 | |||
68 | /** |
||
69 | * The name of the train (e.g. The Orient Express). |
||
70 | * |
||
71 | * @param string|string[] $trainName |
||
72 | * |
||
73 | * @return static |
||
74 | * |
||
75 | * @see http://schema.org/trainName |
||
76 | */ |
||
77 | public function trainName($trainName) |
||
81 | |||
82 | /** |
||
83 | * The unique identifier for the train. |
||
84 | * |
||
85 | * @param string|string[] $trainNumber |
||
86 | * |
||
87 | * @return static |
||
88 | * |
||
89 | * @see http://schema.org/trainNumber |
||
90 | */ |
||
91 | public function trainNumber($trainNumber) |
||
95 | |||
96 | } |
||
97 |