PHP Class eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\PurgeForContentHttpCacheSlot
Will by default use the contentId property of the signal object, as it is the most common. Override the
extractContentId() method in your own signal to use a different property.
显示文件
Open project: ezsystems/ezpublish-kernel
Protected Methods
Method |
Description |
|
extractContentId ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed |
Default implementation that returns the contentId property's value. |
|
extractLocationIds ( eZ\Publish\Core\SignalSlot\Signal $signal ) : array |
Default implementation that returns the signal location property values. |
|
purgeHttpCache ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed |
Purges all caches. |
|
Method Details
purgeHttpCache()
protected method
protected purgeHttpCache ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed |
$signal |
eZ\Publish\Core\SignalSlot\Signal |
|
return |
mixed |
|