PHP Interface ScriptFUSION\Porter\Cache\CacheToggle

Show file Open project: ScriptFUSION/Porter

Public Methods

Method Description
disableCache ( ) : void Disables the cache, prohibiting subsequent cache access operations.
enableCache ( ) : void Enables the cache, permitting subsequent cache access operations.
isCacheEnabled ( ) : boolean Gets a value indicating whether the cache is enabled.

Method Details

disableCache() public method

Disables the cache, prohibiting subsequent cache access operations.
public disableCache ( ) : void
return void

enableCache() public method

Enables the cache, permitting subsequent cache access operations.
public enableCache ( ) : void
return void

isCacheEnabled() public method

Gets a value indicating whether the cache is enabled.
public isCacheEnabled ( ) : boolean
return boolean True if cache is enabled, otherwise false.