PHP Class ManaPHP\Cache\Adapter\File

Inheritance: extends ManaPHP\Component, implements ManaPHP\Cache\AdapterInterface
Afficher le fichier Open project: manaphp/manaphp

Protected Properties

Свойство Type Description
$_dir string
$_extension string
$_level integer

Méthodes publiques

Méthode Description
__construct ( string | array | File $options = [] ) File constructor.
delete ( string $key ) : void
exists ( string $key ) : boolean
get ( string $key ) : string | false
set ( string $key, string $value, integer $ttl ) : void

Méthodes protégées

Méthode Description
_getFileName ( string $key ) : string

Method Details

__construct() public méthode

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

_getFileName() protected méthode

protected _getFileName ( string $key ) : string
$key string
Résultat string

delete() public méthode

public delete ( string $key ) : void
$key string
Résultat void

exists() public méthode

public exists ( string $key ) : boolean
$key string
Résultat boolean

get() public méthode

public get ( string $key ) : string | false
$key string
Résultat string | false

set() public méthode

public set ( string $key, string $value, integer $ttl ) : void
$key string
$value string
$ttl integer
Résultat void

Property Details

$_dir protected_oe property

protected string $_dir
Résultat string

$_extension protected_oe property

protected string $_extension
Résultat string

$_level protected_oe property

protected int $_level
Résultat integer