Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 483 Bytes

Journey.md

File metadata and controls

27 lines (17 loc) · 483 Bytes

< Rejseplan - PHP Api - Journey

Lsv\Rejseplan\Journey

This will deliver information about the complete route of a vehicle.

Example

use Lsv\Rejseplan\Journey;

$response = (new Journey($url))
    ->request();

Arguments

$url can be

  • a Lsv\Rejseplan\Response\Board\BoardData
  • a Lsv\Rejseplan\Response\Trip\Leg
  • a url

Response

The output will be a JourneyResponse object