class File extends File

Traits

Properties

protected string $hashName

The cache copy of the file's hash name.

from  FileHelpers

Methods

string
path()

Get the fully qualified path to the file.

string
extension()

Get the file's extension.

string
clientExtension()

Get the file's extension supplied by the client.

string
hashName(string $path = null)

Get a filename for the file.

Details

in FileHelpers at line 21
string path()

Get the fully qualified path to the file.

Return Value

string

in FileHelpers at line 31
string extension()

Get the file's extension.

Return Value

string

in FileHelpers at line 41
string clientExtension()

Get the file's extension supplied by the client.

Return Value

string

in FileHelpers at line 52
string hashName(string $path = null)

Get a filename for the file.

Parameters

string $path

Return Value

string