class OperationList extends ArrayList (View source)

An array list designed to work with OperationScaffolders

Methods

__construct(array $items = [])

OperationList constructor.

push(array|object $item)

No description

findByName(string $name)

No description

findByIdentifier(string $identifier)

No description

removeByName(string $name)

No description

removeByIdentifier(string $id)

No description

removeItemByCallback(callable $callback)

No description

findItemByCallback(callable $callback)

No description

Details

__construct(array $items = [])

OperationList constructor.

Parameters

array $items

push(array|object $item)

Parameters

array|object $item

bool|OperationScaffolder findByName(string $name)

Parameters

string $name

Return Value

bool|OperationScaffolder

bool|OperationScaffolder findByIdentifier(string $identifier)

Parameters

string $identifier

Return Value

bool|OperationScaffolder

removeByName(string $name)

Parameters

string $name

removeByIdentifier(string $id)

Parameters

string $id

removeItemByCallback(callable $callback)

Parameters

callable $callback

OperationScaffolder|false findItemByCallback(callable $callback)

Parameters

callable $callback

Return Value

OperationScaffolder|false