PHP 클래스 Pop\Cache\Adapter\Apc

저자: Nick Sagona, III ([email protected])
상속: implements Pop\Cache\Adapter\AdapterInterface
파일 보기 프로젝트 열기: nicksagona/PopPHP

보호된 프로퍼티들

프로퍼티 타입 설명
$info array APC info

공개 메소드들

메소드 설명
__construct ( ) : Apc Constructor
clear ( ) : void Method to clear all stored values from cache.
getInfo ( ) : string Method to get the current APC info.
load ( string $id, string $time ) : mixed Method to load a value from cache.
remove ( string $id ) : void Method to delete a value in cache.
save ( string $id, mixed $value, string $time ) : void Method to save a value to cache.

메소드 상세

__construct() 공개 메소드

Instantiate the APC cache object
public __construct ( ) : Apc
리턴 Apc

clear() 공개 메소드

Method to clear all stored values from cache.
public clear ( ) : void
리턴 void

getInfo() 공개 메소드

Method to get the current APC info.
public getInfo ( ) : string
리턴 string

load() 공개 메소드

Method to load a value from cache.
public load ( string $id, string $time ) : mixed
$id string
$time string
리턴 mixed

remove() 공개 메소드

Method to delete a value in cache.
public remove ( string $id ) : void
$id string
리턴 void

save() 공개 메소드

Method to save a value to cache.
public save ( string $id, mixed $value, string $time ) : void
$id string
$value mixed
$time string
리턴 void

프로퍼티 상세

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

APC info
protected array $info
리턴 array