PHP Class ManaPHP\Cache\Adapter\Apc

Inheritance: extends ManaPHP\Component, implements ManaPHP\Cache\AdapterInterface
Datei anzeigen Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_prefix string

Public Methods

Method Description
__construct ( string | array $options = [] ) Apc constructor.
delete ( string $key ) : void
exists ( string $key ) : boolean
get ( string $key ) : mixed
set ( string $key, string $value, integer $ttl )

Method Details

__construct() public method

Apc constructor.
public __construct ( string | array $options = [] )
$options string | array

delete() public method

public delete ( string $key ) : void
$key string
return void

exists() public method

public exists ( string $key ) : boolean
$key string
return boolean

get() public method

public get ( string $key ) : mixed
$key string
return mixed

set() public method

public set ( string $key, string $value, integer $ttl )
$key string
$value string
$ttl integer

Property Details

$_prefix protected_oe property

protected string $_prefix
return string