IQRF PHP command executor

CommandStack
in package

Command stack entity

Table of Contents

Properties

$commands  : array<string|int, Command>

Methods

addCommand()  : void
Adds a command in to the stack
clearCommands()  : void
Clears the stack
getCommands()  : array<string|int, Command>
Returns commands in the stack

Properties

Methods

addCommand()

Adds a command in to the stack

public addCommand(Command $command) : void
Parameters
$command : Command

Command to add

clearCommands()

Clears the stack

public clearCommands() : void

getCommands()

Returns commands in the stack

public getCommands() : array<string|int, Command>
Return values
array<string|int, Command>

Commands in the stack


        
On this page

Search results