< Rejseplan - PHP Api - Journey
This will deliver information about the complete route of a vehicle.
use Lsv\Rejseplan\Journey;
$response = (new Journey($url))
->request();
$url
can be
- a
Lsv\Rejseplan\Response\Board\BoardData
- a
Lsv\Rejseplan\Response\Trip\Leg
- a url
The output will be a JourneyResponse object