Elgg\Cache\SystemCache::disable PHP Method

disable() public method

Uses the 'system_cache_enabled' config with a boolean value. Resets the system cache.
public disable ( ) : void
return void
    function disable()
    {
        $this->config->save('system_cache_enabled', 0);
        $this->reset();
    }