Method |
Description |
|
contains ( string $itemType, string $itemName ) : boolean |
Whether the item is in the cache. |
|
delete ( string $type, string $name ) |
Delete a specific item from the cache. |
|
deleteAll ( ) : boolean |
Delete all items from the cache. |
|
get ( $itemType, $itemName ) : mixed |
Retrieve an item from the cache. If it is not in the cache it should return null. However, you should call the
contains method first rather than relying on that value. |
|
getCacheCreationTime ( $itemType, $itemName ) : boolean | DateTime |
Retrieve the time a cache item was created. Return false if there is no item in the cache. |
|
getUseAutoCache ( ) : boolean |
Whether to auto refresh cache based on creation/modification times instead of a manual process. |
|
set ( LdapTools\Cache\CacheableItemInterface $item ) |
Cache an item. |
|
setOptions ( array $options ) |
Sets any configured options for the Cache type. |
|