Abstract aggregate listener

package Default
inherited_from \Zend\EventManager\AbstractListenerAggregate

 Methods

Constructor

__construct(\Zend\View\Renderer\FeedRenderer $renderer) 

Parameters

$renderer

\Zend\View\Renderer\FeedRenderer

{@inheritDoc}

attach(\Zend\EventManager\EventManagerInterface $events, $priority = 1

Parameters

$events

$priority

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) 
Inherited
inherited_from \Zend\EventManager\ListenerAggregateInterface::detach()

Parameters

$events

Inject the response with the feed payload and appropriate Content-Type header

injectResponse(\Zend\View\ViewEvent $e) : void

Parameters

$e

\Zend\View\ViewEvent

Detect if we should use the FeedRenderer based on model type and/or Accept header

selectRenderer(\Zend\View\ViewEvent $e) : null | \Zend\View\Renderer\FeedRenderer

Parameters

$e

\Zend\View\ViewEvent

Returns

null\Zend\View\Renderer\FeedRenderer

 Properties

 

$listeners

$listeners : array<mixed,\Zend\Stdlib\CallbackHandler>

Default

array()
 

$renderer

$renderer : \Zend\View\Renderer\FeedRenderer

Default