Drupal 8  8.0.2
ChainResponsePolicy Class Reference
Inheritance diagram for ChainResponsePolicy:

Public Member Functions

 __construct (\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
 
 check (\Symfony\Component\HttpFoundation\Response $response,\Symfony\Component\HttpFoundation\Request $request)
 
 addPolicy (\Drupal\Core\PageCache\ResponsePolicyInterface $policy)
 
- Public Member Functions inherited from ChainResponsePolicyInterface
 addPolicy (ResponsePolicyInterface $policy)
 
- Public Member Functions inherited from ResponsePolicyInterface
 check (Response $response, Request $request)
 

Protected Member Functions

 lazyLoadItself ()
 

Protected Attributes

 $drupalProxyOriginalServiceId
 
 $service
 
 $container
 

Additional Inherited Members

- Data Fields inherited from ResponsePolicyInterface
const DENY = 'deny'
 

Detailed Description

Provides a proxy class for .

See Also

Constructor & Destructor Documentation

__construct ( \Symfony\Component\DependencyInjection\ContainerInterface  $container,
  $drupal_proxy_original_service_id 
)

Constructs a ProxyClass Drupal proxy object.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container.
string$drupal_proxy_original_service_idThe service ID of the original service.

Member Function Documentation

{}

References ChainResponsePolicy\lazyLoadItself().

Here is the call graph for this function:

check ( \Symfony\Component\HttpFoundation\Response  $response,
\Symfony\Component\HttpFoundation\Request  $request 
)

{}

References ChainResponsePolicy\lazyLoadItself().

Here is the call graph for this function:

lazyLoadItself ( )
protected

Lazy loads the real service from the container.

Returns
object Returns the constructed real service.

References Drupal\service().

Referenced by ChainResponsePolicy\addPolicy(), and ChainResponsePolicy\check().

Here is the call graph for this function:

Here is the caller graph for this function:


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