TemporaryDirectory
Table of Contents
-
$forceCreate
: bool
-
$location
: string
-
$name
: string
-
__construct()
: mixed
-
create()
: self
-
delete()
: bool
-
empty()
: self
-
force()
: self
-
location()
: self
-
name()
: self
-
path()
: string
-
deleteDirectory()
: bool
-
getFullPath()
: string
-
getSystemTemporaryDirectory()
: string
-
isFilePath()
: bool
-
isValidDirectoryName()
: bool
-
removeFilenameFromPath()
: string
-
sanitizeName()
: string
-
sanitizePath()
: string
$forceCreate
protected
bool
$forceCreate
= false
$location
protected
string
$location
$name
protected
string
$name
__construct()
public
__construct([string $location = '' ]) : mixed
Parameters
-
$location
: string
= ''
-
Return values
mixed
—
create()
public
create() : self
Return values
self
—
delete()
public
delete() : bool
Return values
bool
—
empty()
public
empty() : self
Return values
self
—
force()
public
force() : self
Return values
self
—
location()
public
location(string $location) : self
Parameters
-
$location
: string
-
Return values
self
—
name()
public
name(string $name) : self
Parameters
-
$name
: string
-
Return values
self
—
path()
public
path([string $pathOrFilename = '' ]) : string
Parameters
-
$pathOrFilename
: string
= ''
-
Return values
string
—
deleteDirectory()
protected
deleteDirectory(string $path) : bool
Parameters
-
$path
: string
-
Return values
bool
—
getFullPath()
protected
getFullPath() : string
Return values
string
—
getSystemTemporaryDirectory()
protected
getSystemTemporaryDirectory() : string
Return values
string
—
isFilePath()
protected
isFilePath(string $path) : bool
Parameters
-
$path
: string
-
Return values
bool
—
isValidDirectoryName()
protected
isValidDirectoryName(string $directoryName) : bool
Parameters
-
$directoryName
: string
-
Return values
bool
—
removeFilenameFromPath()
protected
removeFilenameFromPath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—
sanitizeName()
protected
sanitizeName(string $name) : string
Parameters
-
$name
: string
-
Return values
string
—
sanitizePath()
protected
sanitizePath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—