PHP Class ManaPHP\Store\Adapter\Memory

Inheritance: extends ManaPHP\Component, implements ManaPHP\Store\AdapterInterface
显示文件 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_oe property

protected array $_data
return array