Drupal 8  8.0.2
TestClass Class Reference
Inheritance diagram for TestClass:

Public Member Functions

 __construct (StateInterface $state)
 
 onKernelRequestTest (GetResponseEvent $event)
 
 onKernelResponseTest (FilterResponseEvent $event)
 
 destruct ()
 

Static Public Member Functions

static getSubscribedEvents ()
 

Protected Attributes

 $state
 

Constructor & Destructor Documentation

__construct ( StateInterface  $state)

Constructor.

Parameters
\Drupal\Core\State\StateInterface$stateThe state key value store.

References Drupal\state().

Here is the call graph for this function:

Member Function Documentation

destruct ( )

{Performs destruct operations.}

Implements DestructableInterface.

References Drupal\state().

Here is the call graph for this function:

static getSubscribedEvents ( )
static

Registers methods as kernel listeners.

Returns
array An array of event listener definitions.
onKernelRequestTest ( GetResponseEvent  $event)

A simple kernel listener method.

References t().

Here is the call graph for this function:

onKernelResponseTest ( FilterResponseEvent  $event)

Flags the response in case a rebuild indicator is used.


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