/** * Sets the user defined path to temporary directory. * * @since 0.12.0 * * @param string $tempDir The user defined path to temporary directory. * @return void */ public static function setTempDir($tempDir) { self::$tempDir = $tempDir; }