DoDomuDojade Documentation

TramServiceInterface

Interface for tram data services

Table of Contents

Methods

getLines()  : array<string, mixed>
getMessageForBollard()  : array<string, mixed>
getRoutes()  : array<string, mixed>
getStops()  : array<string, mixed>
getTimes()  : array<string, mixed>

Methods

getLines()

public getLines(int $lineNumber) : array<string, mixed>
Parameters
$lineNumber : int
Return values
array<string, mixed>

getMessageForBollard()

public getMessageForBollard(string $bollardSymbol) : array<string, mixed>
Parameters
$bollardSymbol : string
Return values
array<string, mixed>

getRoutes()

public getRoutes(int $lineNumber) : array<string, mixed>
Parameters
$lineNumber : int
Return values
array<string, mixed>

getStops()

public getStops(float $lat, float $lon) : array<string, mixed>
Parameters
$lat : float
$lon : float
Return values
array<string, mixed>

getTimes()

public getTimes(string $stopId) : array<string, mixed>
Parameters
$stopId : string
Return values
array<string, mixed>

        
On this page

Search results