__construct()
__construct(array $config) : mixed
RedisSessionHandler constructor.
Parameters
| array |
$config |
= [
'host' => '127.0.0.1',
'port' => 6379,
'timeout' => 2,
'auth' => '******',
'database' => 2,
'prefix' => 'redis_session_',
]
|
Returns
mixed
—