Zend\EventManager\SharedEventAggregateAwareInterface::attachAggregate
Attach a listener aggregate
Signature
public function attachAggregate(SharedListenerAggregateInterface
$aggregate,
[integer
$priority = 1] )
Parameters
$aggregate
— Zend\EventManager\SharedListenerAggregateInterface
$priority
— integer- If provided, a suggested priority for the aggregate to use
Returns
- mixed
- return value of {@link SharedListenerAggregateInterface::attachShared()}