eZ\Publish\Core\MVC\Symfony\Cache\GatewayCachePurger::purge PHP Метод

purge() публичный Метод

Triggers the cache purge of given $locationIds.
Устаревший: 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
Результат mixed
    public function purge($locationIds);

Usage Example

 public function purge($locationIds)
 {
     if ($this->isSwitchedOff()) {
         return $locationIds;
     }
     return $this->gatewayCachePurger->purge($locationIds);
 }