RobotCommandCollection implements IteratorAggregate
Table of Contents
Interfaces
- IteratorAggregate
Methods
- __construct() : mixed
- add() : static
- getIterator() : array<string|int, AbstractRobotCommand>
- getStageId() : int
- getStageType() : string
- getUserSensitive() : static
- isEmpty() : bool
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct(int $stageId, string $type, AbstractRobotCommand ...$commands) : mixed
Parameters
- $stageId : int
- $type : string
- $commands : AbstractRobotCommand
add()
public
add(AbstractRobotCommand $command) : static
Parameters
- $command : AbstractRobotCommand
Return values
staticgetIterator()
public
getIterator() : array<string|int, AbstractRobotCommand>
Return values
array<string|int, AbstractRobotCommand>getStageId()
public
getStageId() : int
Return values
intgetStageType()
public
getStageType() : string
Return values
stringgetUserSensitive()
public
getUserSensitive() : static
Return values
staticisEmpty()
public
isEmpty() : bool
Return values
booltoArray()
public
toArray() : array<string|int, mixed>