PHP Class Pinq\Caching\OneDimensionalCacheAdapter

Author: Elliot Levin ([email protected])
Inheritance: extends CacheAdapter
Mostra file Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__construct ( )
clearInNamespace ( string $namespace ) : void Clears all cached values in the supplied namespace key prefix.
forNamespace ( $namespace )
inGlobalNamespace ( ) : Pinq\Caching\ICacheAdapter Returns a new cache implementation for the global namespace.

Method Details

__construct() public method

public __construct ( )

clearInNamespace() abstract public method

Clears all cached values in the supplied namespace key prefix.
abstract public clearInNamespace ( string $namespace ) : void
$namespace string
return void

forNamespace() public method

public forNamespace ( $namespace )

inGlobalNamespace() public method

Returns a new cache implementation for the global namespace.
public inGlobalNamespace ( ) : Pinq\Caching\ICacheAdapter
return Pinq\Caching\ICacheAdapter