BusBuilders
in package
implements
IteratorAggregate
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $busBuilders : array<string|int, BusBuilder>
- $defaultBusId : string
- __construct() : mixed
- createBlankRouting() : Routing
- defaultBus() : BusBuilder
- getIterator() : ArrayIterator|array<string|int, BusBuilder>
- add() : mixed
- assertValidBusId() : mixed
- get() : BusBuilder
Properties
$busBuilders
private
array<string|int, BusBuilder>
$busBuilders
= []
$defaultBusId
private
string
$defaultBusId
Methods
__construct()
public
__construct(array<string|int, mixed> $busBuilders, string $defaultBusId) : mixed
Parameters
- $busBuilders : array<string|int, mixed>
- $defaultBusId : string
Return values
mixed —createBlankRouting()
public
createBlankRouting() : Routing
Return values
Routing —defaultBus()
public
defaultBus() : BusBuilder
Return values
BusBuilder —getIterator()
public
getIterator() : ArrayIterator|array<string|int, BusBuilder>
Return values
ArrayIterator|array<string|int, BusBuilder> —add()
private
add(BusBuilder $builder) : mixed
Parameters
- $builder : BusBuilder
Return values
mixed —assertValidBusId()
private
assertValidBusId(mixed $busId) : mixed
Parameters
- $busId : mixed
Return values
mixed —get()
private
get(string $busId) : BusBuilder
Parameters
- $busId : string