메소드 |
설명 |
|
clear ( ) : void |
Clears all cached values under the namespace. |
|
contains ( string $key ) : boolean |
Returns whether the supplied function has |
|
forNamespace ( string $namespace ) : Pinq\Caching\ICacheAdapter |
Returns a new cache implementation for a new namespace. |
|
getNamespace ( ) : string |
The namespace of the cache. |
|
hasNamespace ( ) : boolean |
Whether the cache is namespaced. |
|
inGlobalNamespace ( ) : Pinq\Caching\ICacheAdapter |
Returns a new cache implementation for the global namespace. |
|
remove ( string $key ) : void |
Removes the value associated with the supplied key |
|
save ( string $key, mixed $value ) : void |
Saves the supplied value to the cache. |
|
tryGet ( string $key ) : mixed |
Attempt to get the cached value associated with the supplied key |
|