PHP Class ManaPHP\Store\Adapter\File

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

Protected Properties

Property Type Description
$_dir string
$_extension string
$_level integer

Public Methods

Method Description
__construct ( string | array | File $options = [] ) File constructor.
delete ( string $id ) : void
exists ( string $id ) : boolean
get ( string $id ) : false | string
set ( string $id, string $value ) : void

Protected Methods

Method Description
_getFileName ( string $key ) : string

Method Details

__construct() public method

File constructor.
public __construct ( string | array | File $options = [] )
$options string | array | ConfManaPHP\Store\Adapter\File

_getFileName() protected method

protected _getFileName ( string $key ) : string
$key string
return string

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

set() public method

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

Property Details

$_dir protected_oe property

protected string $_dir
return string

$_extension protected_oe property

protected string $_extension
return string

$_level protected_oe property

protected int $_level
return integer