PHP Class Bluz\Cache\Adapter\Apc

Author: murzik
Inheritance: extends AbstractAdapter
Show file Open project: bluzphp/framework

Public Methods

Method Description
__construct ( array $settings = [] ) Check APC extension

Protected Methods

Method Description
doAdd ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean
doContains ( string $id ) : boolean | string[]
doDelete ( string $id ) : boolean | string[]
doFlush ( ) : boolean
doGet ( string $id ) : mixed
doSet ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean

Method Details

__construct() public method

Check APC extension
public __construct ( array $settings = [] )
$settings array

doAdd() protected method

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

doContains() protected method

protected doContains ( string $id ) : boolean | string[]
$id string
return boolean | string[]

doDelete() protected method

protected doDelete ( string $id ) : boolean | string[]
$id string
return boolean | string[]

doFlush() protected method

protected doFlush ( ) : boolean
return boolean

doGet() protected method

protected doGet ( string $id ) : mixed
$id string
return mixed

doSet() protected method

protected doSet ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean
$id string
$data mixed
$ttl integer
return boolean