PHP 클래스 MatthiasMullie\Scrapbook\Psr6\Pool

저자: Matthias Mullie ([email protected])
상속: implements Psr\Cache\CacheItemPoolInterface
파일 보기 프로젝트 열기: matthiasmullie/scrapbook 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$deferred Item[]
$repository Repository
$store MatthiasMullie\Scrapbook\KeyValueStore

공개 메소드들

메소드 설명
__construct ( MatthiasMullie\Scrapbook\KeyValueStore $store )
__destruct ( )
clear ( )
commit ( )
deleteItem ( $key )
deleteItems ( array $keys )
getItem ( $key )
getItems ( array $keys = [] ) : Item[]
hasItem ( $key )
save ( Psr\Cache\CacheItemInterface $item )
saveDeferred ( Psr\Cache\CacheItemInterface $item )

보호된 메소드들

메소드 설명
assertValidKey ( string $key ) Throws an exception if $key is invalid.

메소드 상세

__construct() 공개 메소드

public __construct ( MatthiasMullie\Scrapbook\KeyValueStore $store )
$store MatthiasMullie\Scrapbook\KeyValueStore

__destruct() 공개 메소드

public __destruct ( )

assertValidKey() 보호된 메소드

Throws an exception if $key is invalid.
protected assertValidKey ( string $key )
$key string

clear() 공개 메소드

public clear ( )

commit() 공개 메소드

public commit ( )

deleteItem() 공개 메소드

public deleteItem ( $key )

deleteItems() 공개 메소드

public deleteItems ( array $keys )
$keys array

getItem() 공개 메소드

public getItem ( $key )

getItems() 공개 메소드

public getItems ( array $keys = [] ) : Item[]
$keys array
리턴 Item[]

hasItem() 공개 메소드

public hasItem ( $key )

save() 공개 메소드

public save ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface

saveDeferred() 공개 메소드

public saveDeferred ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface

프로퍼티 상세

$deferred 보호되어 있는 프로퍼티

protected Item[],MatthiasMullie\Scrapbook\Psr6 $deferred
리턴 Item[]

$repository 보호되어 있는 프로퍼티

protected Repository,MatthiasMullie\Scrapbook\Psr6 $repository
리턴 Repository

$store 보호되어 있는 프로퍼티

protected KeyValueStore,MatthiasMullie\Scrapbook $store
리턴 MatthiasMullie\Scrapbook\KeyValueStore