\RedisPayloadStoreHandler
Class RedisPayloadStoreHandler
Synopsis
class RedisPayloadStoreHandler
extends PayloadStoreHandler
{
- // members
- private static string $host = '127.0.0.1';
- private static integer $port = 6379;
- private static integer $default_db = 0;
- private $redis;
- // methods
- public void __construct()
- public array info()
- public array read()
- public void write()
- public mixed|void delete()
- public string getName()
- // Inherited methods from PayloadStoreHandler
- public abstract void __construct()
- public abstract array read()
- public abstract void write()
- public abstract mixed delete()
- public abstract array info()
- public abstract string getName()
Hierarchy
Extends
Members
private
- $default_db
- $host
- $port
- $redis
Methods
public
- __construct() — RedisPayloadStoreHandler constructor.
- delete() — Deletes a key from the store.
- getName()
- info() — Outputs a single or all options of the active Redis instance.
- read()
- write() — Writes a NVP to the chosen Redis database.