function __construct($cache_url) { $config = Swoole_tools::uri($cache_url); $this->cache = self::get_cache($config); }