array( * 'delegators' => array( * 'ZF\MvcAuth\Authentication\DefaultAuthenticationListener' => array( * 'CompositeAdapterDelegatorFactory', * ), * ), * ), * ``` */ class CompositeAdapterDelegatorFactory implements DelegatorFactoryInterface { public function createDelegatorWithName( ServiceLocatorInterface $services, $name, $requestedName, $callback ) { $listener = $callback(); $composite = $services->get('CompositeAdapter'); $listener->attach($composite); return $listener; } }