PHP Класс LdapTools\Cache\StashCache

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Cache\CacheInterface, use trait CacheTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cacheFolder The cache folder location.
$pool The Stash cache pool.
$useAutoCache Whether the cache should auto refresh based on creation/modification times.

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
getCacheItem ( string $itemType, string $itemName ) : Stash\Interfaces\ItemInterface
getPool ( ) : Pool
parseOptions ( array $options ) Check for any options that apply to Stash.

Описание методов

__construct() публичный Метод

public __construct ( )

contains() публичный Метод

public contains ( $itemType, $itemName )

delete() публичный Метод

public delete ( $type, $name )

deleteAll() публичный Метод

public deleteAll ( )

get() публичный Метод

public get ( $itemType, $itemName )

getCacheCreationTime() публичный Метод

public getCacheCreationTime ( $itemType, $itemName )

getCacheFolder() публичный Метод

The location to where the cache will be kept.
public getCacheFolder ( ) : string
Результат string

getCacheItem() защищенный Метод

protected getCacheItem ( string $itemType, string $itemName ) : Stash\Interfaces\ItemInterface
$itemType string
$itemName string
Результат Stash\Interfaces\ItemInterface

getPool() защищенный Метод

protected getPool ( ) : Pool
Результат Stash\Pool

getUseAutoCache() публичный Метод

public getUseAutoCache ( )

parseOptions() защищенный Метод

Check for any options that apply to Stash.
protected parseOptions ( array $options )
$options array

set() публичный Метод

public set ( LdapTools\Cache\CacheableItemInterface $cacheableItem )
$cacheableItem LdapTools\Cache\CacheableItemInterface

setCacheFolder() публичный Метод

Set the location where the cache will be kept.
public setCacheFolder ( $folder )
$folder

setOptions() публичный Метод

public setOptions ( array $options )
$options array

Описание свойств

$cacheFolder защищенное свойство

The cache folder location.
protected $cacheFolder

$pool защищенное свойство

The Stash cache pool.
protected $pool

$useAutoCache защищенное свойство

Whether the cache should auto refresh based on creation/modification times.
protected $useAutoCache