PHP Class ManaPHP\Cache\Adapter\Memory

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

Protected Properties

Property Type Description
$_data array

Public Methods

Method Description
delete ( string $key ) : void
exists ( string $key ) : boolean
get ( string $key ) : string | false
set ( string $key, string $value, integer $ttl ) : void

Method Details

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 ) : string | false
$key string
return string | false

set() public method

public set ( string $key, string $value, integer $ttl ) : void
$key string
$value string
$ttl integer
return void

Property Details

$_data protected_oe property

protected array $_data
return array