public __construct ( string $host = '127.0.0.1', integer $port = 6379, float $timeout = null, string $persistent = '', integer $db, string $password = null ) | ||
$host | string | The hostname of the Redis server |
$port | integer | The port number of the Redis server |
$timeout | float | Timeout period in seconds |
$persistent | string | Flag to establish persistent connection |
$db | integer | The selected datbase of the Redis server |
$password | string | The authentication password of the Redis server |