GetResponseForControllerResultEvent

GetResponseForControllerResultEvent

class GetResponseForControllerResultEvent extends GetResponseEvent

Allows to create a response for the return value of a controller.

Call setResponse() to set the response that will be returned for the current request. The propagation of this event is stopped as soon as a response is set.

Methods

bool isPropagationStopped()

Returns whether further event listeners should be triggered.

from Event
登录查看完整内容