PHP 클래스 eZ\Publish\Core\REST\Client\ObjectCache

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$cachedObjects array Map of cached objects by their key.

공개 메소드들

메소드 설명
clear ( string $key ) Clears the data stored in $key.
clearAll ( ) Clears all cached items.
restore ( string $key ) : eZ\Publish\API\Repository\Values\ValueObject | null Restores data stored under $key, returns null if $key is not found.
store ( string $key, eZ\Publish\API\Repository\Values\ValueObject $data ) Stores $data under $key.

메소드 상세

clear() 공개 메소드

Clears the data stored in $key.
public clear ( string $key )
$key string

clearAll() 공개 메소드

Clears all cached items.
public clearAll ( )

restore() 공개 메소드

Restores data stored under $key, returns null if $key is not found.
public restore ( string $key ) : eZ\Publish\API\Repository\Values\ValueObject | null
$key string
리턴 eZ\Publish\API\Repository\Values\ValueObject | null

store() 공개 메소드

Stores $data under $key.
public store ( string $key, eZ\Publish\API\Repository\Values\ValueObject $data )
$key string
$data eZ\Publish\API\Repository\Values\ValueObject

프로퍼티 상세

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

Map of cached objects by their key.
protected array $cachedObjects
리턴 array