Свойство | Тип | Описание | |
---|---|---|---|
$arrival | string | The arrival time to the checkpoint (e.g. 14:58:00). | |
$arrivalTimestamp | integer | ||
$delay | integer | ||
$departure | string | The departure time from the checkpoint, can be null. | |
$departureTimestamp | integer | ||
$location | |||
$platform | string | The arrival/departure platform (e.g. 8). | |
$prognosis | The checkpoint prognosis. | ||
$realtimeAvailability | string | ||
$station | Transport\Entity\Location\Station | A location object showing this line's stop at the requested station. |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
calculateDateTime ( string $time, DateTime $referenceDate, $stopPrognosis = null ) : DateTime | Calculates a datetime by parsing the time and date given. | |
createFromXml ( SimpleXMLElement $xml, DateTime $date, |
public static calculateDateTime ( string $time, DateTime $referenceDate, $stopPrognosis = null ) : DateTime | ||
$time | string | The time to parse, can contain an optional offset prefix (e.g., "02d") |
$referenceDate | DateTime | The date |
Результат | DateTime | The parsed time in ISO format |
public static createFromXml ( SimpleXMLElement $xml, DateTime $date, |
||
$xml | SimpleXMLElement | |
$date | DateTime | |
$obj |
public string $arrival | ||
Результат | string |
public string $departure | ||
Результат | string |
public Location,Transport\Entity\Location $location | ||
Результат |
public string $platform | ||
Результат | string |
public Prognosis,Transport\Entity\Schedule $prognosis | ||
Результат |