Property | Type | Description | |
---|---|---|---|
$cacheFolder | The cache folder location. | ||
$pool | The Stash cache pool. | ||
$useAutoCache | Whether the cache should auto refresh based on creation/modification times. |
Method | Description | |
---|---|---|
__construct ( ) | ||
contains ( $itemType, $itemName ) | ||
delete ( $type, $name ) | ||
deleteAll ( ) | ||
get ( $itemType, $itemName ) | ||
getCacheCreationTime ( $itemType, $itemName ) | ||
getCacheFolder ( ) : string | The location to where the cache will be kept. | |
getUseAutoCache ( ) | ||
set ( LdapTools\Cache\CacheableItemInterface $cacheableItem ) | ||
setCacheFolder ( $folder ) | Set the location where the cache will be kept. | |
setOptions ( array $options ) |
Method | Description | |
---|---|---|
getCacheItem ( string $itemType, string $itemName ) : Stash\Interfaces\ItemInterface | ||
getPool ( ) : |
||
parseOptions ( array $options ) | Check for any options that apply to Stash. |
public getCacheFolder ( ) : string | ||
return | string |
protected getCacheItem ( string $itemType, string $itemName ) : Stash\Interfaces\ItemInterface | ||
$itemType | string | |
$itemName | string | |
return | Stash\Interfaces\ItemInterface |
protected parseOptions ( array $options ) | ||
$options | array |
public set ( LdapTools\Cache\CacheableItemInterface $cacheableItem ) | ||
$cacheableItem | LdapTools\Cache\CacheableItemInterface |
public setCacheFolder ( $folder ) | ||
$folder |