protected function createRedisDriver(string $name, Prop $config)
	{
		if( !class_exists("Predis\\Client") )
		{
			throw new \RuntimeException("Redis client library is not loaded");
		}

		$parameters = $config->toArray();
		$options = $config->isArray("options") ? $config->get("options") : [];

		unset($parameters["options"]);

		if( ! isset($options["timeout"]) )
		{
			$options["timeout"] = 10;
		}

		if( isset($options["prefix"]) && strlen($options["prefix"]) )
		{
			$options["prefix"] = $options["prefix"] . ":";
		}

		$options["exceptions"] = true;

		return new RedisStore(
			new Client($config->toArray(), $options),
			$name,
			$config->getOr("life", 0)
		);
	}