PHP Class eZ\Bundle\EzPublishRestBundle\EventListener\ResponseListener
Converts responses from REST controllers to REST Responses, depending on the Accept-Header value.
Mostrar archivo
Open project: ezsystems/ezpublish-kernel
Public Methods
Method Details
__construct()
public method
public __construct ( eZ\Publish\Core\REST\Server\View\AcceptHeaderVisitorDispatcher $viewDispatcher ) |
$viewDispatcher |
eZ\Publish\Core\REST\Server\View\AcceptHeaderVisitorDispatcher |
AcceptHeaderVisitorDispatcher |
getSubscribedEvents()
public static method
onKernelExceptionView()
public method
public onKernelExceptionView ( GetResponseForExceptionEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent |
|
onKernelResultView()
public method
public onKernelResultView ( GetResponseForControllerResultEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent |
|