eZPublishCommunityProject  2013.9
eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger Class Reference

Purger for legacy cache. More...

+ Inheritance diagram for eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger:
+ Collaboration diagram for eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger:

Public Member Functions

 __construct (\Closure $legacyKernelClosure, Configuration $configurationMapper, Filesystem $fs, $legacyRootDir)
 
 clear ($cacheDir)
 Clears any caches necessary. More...
 

Private Member Functions

 getLegacyKernel ()
 

Private Attributes

 $legacyKernelClosure
 

Detailed Description

Purger for legacy cache.

Hooks into cache:clear command.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger::__construct ( \Closure  $legacyKernelClosure,
Configuration  $configurationMapper,
Filesystem  $fs,
  $legacyRootDir 
)

Member Function Documentation

eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger::clear (   $cacheDir)

Clears any caches necessary.

Parameters
string$cacheDirThe cache directory.
eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger::getLegacyKernel ( )
private

Member Data Documentation

eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger::$legacyKernelClosure
private

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