Zend\EventManager\SharedListenerAggregateInterface::attachShared
Attach one or more listeners
Implementors may add an optional $priority argument; the SharedEventManager implementation will pass this to the aggregate.
Signature
public function attachShared(SharedEventManagerInterface
$events )