PHP Class ManaPHP\Task\Metadata\Adapter\Redis

Inheritance: extends ManaPHP\Component, implements ManaPHP\Task\Metadata\AdapterInterface
Mostra file Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_prefix string

Public Methods

Method 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 method

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

delete() public method

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

exists() public method

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

get() public method

public get ( string $key ) : mixed | false
$key string
return mixed | false

set() public method

public set ( string $key, mixed $value ) : void
$key string
$value mixed
return void

setDependencyInjector() public method

public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static
$dependencyInjector ManaPHP\DiInterface
return static

Property Details

$_prefix protected_oe property

protected string $_prefix
return string