eZPublishCommunityProject  2013.9
eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener Class Reference

This listener performs Legacy Stack specific tasks in REST context. More...

+ Inheritance diagram for eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener:
+ Collaboration diagram for eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener:

Public Member Functions

 __construct ($csrfTokenIntention)
 
 setCsrfIntention ()
 Injects CSRF token intention to the ezxFormToken extension so that Legacy & Symfony stacks can work together. More...
 

Static Public Member Functions

static getSubscribedEvents ()
 

Private Attributes

 $csrfTokenIntention
 

Detailed Description

This listener performs Legacy Stack specific tasks in REST context.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener::__construct (   $csrfTokenIntention)
Parameters
string$csrfTokenIntention

Member Function Documentation

static eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener::getSubscribedEvents ( )
static
Returns
array
eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener::setCsrfIntention ( )

Injects CSRF token intention to the ezxFormToken extension so that Legacy & Symfony stacks can work together.

Member Data Documentation

eZ\Bundle\EzPublishLegacyBundle\EventListener\RestListener::$csrfTokenIntention
private

The documentation for this class was generated from the following file: