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

purgeAll() public method

Triggers the cache purge for all content in cache.
public purgeAll ( ) : mixed
return mixed
    public function purgeAll();

Usage Example

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