GetDeparturesUseCase
in package
Read onlyYes
Provides tram data formatted for display page
Table of Contents
Properties
- $logger : LoggerInterface
- $tramService : TramService
Methods
- __construct() : mixed
- execute() : array<string|int, mixed>
Properties
$logger
private
LoggerInterface
$logger
$tramService
private
TramService
$tramService
Methods
__construct()
public
__construct(TramService $tramService, LoggerInterface $logger) : mixed
Parameters
- $tramService : TramService
- $logger : LoggerInterface
execute()
public
execute(array<string|int, mixed> $stopIds) : array<string|int, mixed>
Parameters
- $stopIds : array<string|int, mixed>