Solar_Dir::tmp()

static public string Solar_Dir::tmp ( string $sub = '' )

Returns the OS-specific directory for temporary files; uses the Solar $system/tmp directory when available.

Parameters

  • (string) $sub: Add this subdirectory to the returned temporary directory name.

Returns

  • (string) The temporary directory path.

Description

Returns the OS-specific directory for temporary files; uses the Solar $system/tmp directory when available.



Local