Interface CacheInterface

Methods summary

public boolean
# delete( string $key )

Deletes an item from the cache

public boolean
# exists( string $key )

Checks if an item exists in the cache

public
# flush( )

Removes all values from the cache

public Stash\Interfaces\ItemInterface
# getItem( string $key )

Gets a value from the cache

public
# enable( )

Enables the cache

public
# disable( )

Disables the cache

public boolean
# isEnabled( )

Returns true if the cache is enabled, false if not

public static
# disableAll( )

Disables all cache levels

public static
# enableAll( )

Enables all cache levels