Pimcore\Update::clearOPCaches PHP Method

clearOPCaches() public static method

public static clearOPCaches ( )
    public static function clearOPCaches()
    {
        if (function_exists("opcache_reset")) {
            opcache_reset();
        }
    }

Usage Example

Example #1
0
 public function init()
 {
     parent::init();
     Update::clearOPCaches();
     $this->checkPermission("update");
 }