eZ\Publish\Core\MVC\Symfony\Cache\GatewayCachePurger::purge PHP Method

purge() public method

Triggers the cache purge of given $locationIds.
Deprecation: as of 6.0, might be removed in a future major version. Use purgeForContent() instead when content exist.
public purge ( array $locationIds ) : mixed
$locationIds array
return mixed
    public function purge($locationIds);

Usage Example

コード例 #1
0
 public function purge($locationIds)
 {
     if ($this->isSwitchedOff()) {
         return $locationIds;
     }
     return $this->gatewayCachePurger->purge($locationIds);
 }