Elgg\Cache\SimpleCache::disable PHP Méthode

disable() public méthode

Disables the simple cache.
See also: elgg_register_simplecache_view()
public disable ( ) : void
Résultat void
    function disable()
    {
        if ($this->config->get('simplecache_enabled')) {
            $this->config->save('simplecache_enabled', 0);
            $this->invalidate();
        }
    }