Drupal 8  8.0.2
CachedDiscoveryClearer Class Reference
Inheritance diagram for CachedDiscoveryClearer:

Public Member Functions

 __construct (\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
 
 addCachedDiscovery (\Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface $cached_discovery)
 
 clearCachedDefinitions ()
 
- Public Member Functions inherited from CachedDiscoveryClearerInterface
 addCachedDiscovery (CachedDiscoveryInterface $cached_discovery)
 

Protected Member Functions

 lazyLoadItself ()
 

Protected Attributes

 $drupalProxyOriginalServiceId
 
 $service
 
 $container
 

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

addCachedDiscovery ( \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface  $cached_discovery)

{}

References CachedDiscoveryClearer\lazyLoadItself().

Here is the call graph for this function:

clearCachedDefinitions ( )

{Clears the cache on all cached discoveries.}

Implements CachedDiscoveryClearerInterface.

References CachedDiscoveryClearer\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 CachedDiscoveryClearer\addCachedDiscovery(), and CachedDiscoveryClearer\clearCachedDefinitions().

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: