get(RedisFactory::class); } return self::$factory; } public static function getInstance($poolName = 'default'): RedisProxy { return self::getFactory()->get($poolName); } public static function __callStatic($method, $args) { return call_user_func_array([self::getInstance(), $method], $args); } }