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