Methods

Attach listeners

attach(\Zend\EventManager\EventManagerInterface $events) : void

Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters

Inspect the result, and cast it to a ViewModel if an assoc array is detected

createViewModelFromArray(\Zend\Mvc\MvcEvent $e) : void

Parameters

Inspect the result, and cast it to a ViewModel if null is detected

createViewModelFromNull(\Zend\Mvc\MvcEvent $e) : void

Parameters

Inspect the result, and cast it to a ViewModel if a string is detected

createViewModelFromString(\Zend\Mvc\MvcEvent $e) : void

Parameters

Detach listeners

detach(\Zend\EventManager\EventManagerInterface $events) : void

 Properties

 

Listeners we've registered

$listeners : array