PHP 클래스 Bluz\Cache\Adapter\PhpFile

It can cache data that support var_export. This adapter very fast and cacheable by opcode cachers but it have some limitations related to var_export. It's best to use for scalar data caching
상속: extends FileBase
파일 보기 프로젝트 열기: bluzphp/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$data cache data

보호된 메소드들

메소드 설명
doAdd ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean | integer
doContains ( string $id ) : boolean
doGet ( string $id ) : boolean | mixed
doSet ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : integer

메소드 상세

doAdd() 보호된 메소드

protected doAdd ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean | integer
$id string
$data mixed
$ttl integer
리턴 boolean | integer

doContains() 보호된 메소드

protected doContains ( string $id ) : boolean
$id string
리턴 boolean

doGet() 보호된 메소드

protected doGet ( string $id ) : boolean | mixed
$id string
리턴 boolean | mixed

doSet() 보호된 메소드

protected doSet ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : integer
$id string
$data mixed
$ttl integer
리턴 integer The number of bytes that were written to the file, or false on failure.

프로퍼티 상세

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

cache data
protected $data