PHP 클래스 LdapTools\Cache\StashCache

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\Cache\CacheInterface, use trait CacheTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$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