Copied!

EventActionCollection

EventActionCollection.php : 19
Implements IteratorAggregate

Methods

public__construct()

EventActionCollection.php : 27
public __construct([iterable<string|int, EventActionInterface$actions = [] ])

Parameters

Name Type Default value Description
$actions iterable<string|int, EventActionInterface> [] -

publiccreateEmpty()

EventActionCollection.php : 65
public static createEmpty() : self

Return values

self

publicget()

EventActionCollection.php : 46

Returns action definition with given identifier.

public get(string $identifier) : EventActionInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

EventActionInterface

publicgetIterator()

EventActionCollection.php : 60
public getIterator() : Iterator

Return values

Iterator

publicisEmpty()

EventActionCollection.php : 55
public isEmpty() : bool

Return values

bool

publicsupports()

EventActionCollection.php : 38

Returns true if action with given identifier is supported.

public supports(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool