PHP Class ManaPHP\Task\Metadata\Adapter\Redis

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

Protected Properties

Свойство Type Description
$_prefix string

Méthodes publiques

Méthode Description
__construct ( string | array $options = [] ) Redis constructor.
delete ( string $key ) : void
exists ( string $key ) : boolean
get ( string $key ) : mixed | false
set ( string $key, mixed $value ) : void
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static

Method Details

__construct() public méthode

Redis constructor.
public __construct ( string | array $options = [] )
$options string | array

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 ) : mixed | false
$key string
Résultat mixed | false

set() public méthode

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

setDependencyInjector() public méthode

public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static
$dependencyInjector ManaPHP\DiInterface
Résultat static

Property Details

$_prefix protected_oe property

protected string $_prefix
Résultat string