@Jack12816 `self::$tmpDir` inside a closure is not allowed.