PHP Class ManaPHP\Store\Adapter\Memory

Inheritance: extends ManaPHP\Component, implements ManaPHP\Store\AdapterInterface
Show file Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_data array

Public Methods

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

Method Details

delete() public method

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

exists() public method

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

get() public method

public get ( string $id ) : string | false
$id string
return string | false

set() public method

public set ( string $id, string $value ) : void
$id string
$value string
return void

Property Details

$_data protected property

protected array $_data
return array