final class Commands implements IteratorAggregate, Countable (View source)

Methods

static Commands
create(CommandInterface ...$items)

No description

static Commands
createEmpty()

No description

static Commands
fromArray(array $array)

No description

append(CommandInterface $command)

No description

merge(Commands $other)

No description

getIterator()

No description

bool
isEmpty()

No description

int
count()

No description

Details

static Commands create(CommandInterface ...$items)

No description

Parameters

CommandInterface ...$items

Return Value

Commands

static Commands createEmpty()

No description

Return Value

Commands

static Commands fromArray(array $array)

No description

Parameters

array $array

Return Value

Commands

Commands append(CommandInterface $command)

No description

Parameters

CommandInterface $command

Return Value

Commands

Commands merge(Commands $other)

No description

Parameters

Commands $other

Return Value

Commands

Traversable getIterator()

No description

Return Value

Traversable

bool isEmpty()

No description

Return Value

bool

int count()

No description

Return Value

int