Method |
Description |
|
__construct ( WurflCache\Adapter\AdapterInterface $adapter ) |
Constructor class, checks for the existence of (and loads) the cache and
if needed updated the definitions |
|
flush ( ) : boolean |
Flush the whole storage |
|
getItem ( string $cacheId, boolean $withVersion = true, boolean &$success = null ) : mixed |
Get an item. |
|
getReleaseDate ( ) : string |
Gets the release date of the Browscap data |
|
getType ( ) : string |
Gets the type of the Browscap data |
|
getVersion ( ) : integer |
Gets the version of the Browscap data |
|
hasItem ( string $cacheId, boolean $withVersion = true ) : boolean |
Test if an item exists. |
|
removeItem ( string $cacheId, boolean $withVersion = true ) : boolean |
Remove an item. |
|
setItem ( string $cacheId, mixed $content, boolean $withVersion = true ) : boolean |
save the content into an php file |
|