| 1 | <?php |
||
| 20 | class RedisFactory implements StorageFactoryInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | private $parameters = [ |
||
| 26 | 'host' => ['localhost'], |
||
| 27 | 'port' => 6379, |
||
| 28 | 'scheme' => 'tcp', |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor class. |
||
| 33 | * |
||
| 34 | * @param array $parameters |
||
| 35 | */ |
||
| 36 | public function __construct(array $parameters = []) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Creates an instance of redis. |
||
| 43 | * |
||
| 44 | * @return Client |
||
| 45 | */ |
||
| 46 | public function create() |
||
| 50 | } |
||
| 51 |