Interface for allowing attachment of shared aggregate listeners.

 Methods

Attach a listener aggregate

attachAggregate(\Zend\EventManager\SharedListenerAggregateInterface $aggregate, int $priority) : mixed

Parameters

$priority

int

If provided, a suggested priority for the aggregate to use

Returns

mixedreturn value of {@link SharedListenerAggregateInterface::attachShared()}

Detach a listener aggregate

detachAggregate(\Zend\EventManager\SharedListenerAggregateInterface $aggregate) : mixed

Parameters

Returns

mixedreturn value of {@link SharedListenerAggregateInterface::detachShared()}