Свойство | Type | Description | |
---|---|---|---|
$event | Zend\Mvc\ResponseSender\SendResponseEvent | ||
$eventManager | Zend\EventManager\EventManagerInterface |
Méthode | Description | |
---|---|---|
attach ( Zend\EventManager\EventManagerInterface $events, integer $priority = 1 ) : void | Attach the aggregate to the specified event manager | |
getEvent ( ) : Zend\Mvc\ResponseSender\SendResponseEvent | Get the send response event | |
getEventManager ( ) : Zend\EventManager\EventManagerInterface | Retrieve the event manager | |
sendResponse ( |
Send the response | |
setEvent ( Zend\Mvc\ResponseSender\SendResponseEvent $e ) : Zend\Mvc\ResponseSender\SendResponseEvent | Set the send response event | |
setEventManager ( Zend\EventManager\EventManagerInterface $eventManager ) : |
Inject an EventManager instance |
Méthode | Description | |
---|---|---|
attachDefaultListeners ( ) : |
Register the default event listeners |
protected attachDefaultListeners ( ) : |
||
Résultat |
public getEvent ( ) : Zend\Mvc\ResponseSender\SendResponseEvent | ||
Résultat | Zend\Mvc\ResponseSender\SendResponseEvent |
public getEventManager ( ) : Zend\EventManager\EventManagerInterface | ||
Résultat | Zend\EventManager\EventManagerInterface |
public sendResponse ( |
||
$e | ||
Résultat | void |
public setEvent ( Zend\Mvc\ResponseSender\SendResponseEvent $e ) : Zend\Mvc\ResponseSender\SendResponseEvent | ||
$e | Zend\Mvc\ResponseSender\SendResponseEvent | |
Résultat | Zend\Mvc\ResponseSender\SendResponseEvent |
public setEventManager ( Zend\EventManager\EventManagerInterface $eventManager ) : |
||
$eventManager | Zend\EventManager\EventManagerInterface | |
Résultat |
protected SendResponseEvent,Zend\Mvc\ResponseSender $event | ||
Résultat | Zend\Mvc\ResponseSender\SendResponseEvent |