trait FileHelpers (View source)

Properties

protected string $hashName

The cache copy of the file's hash name.

Methods

string
path()

Get the fully qualified path to the file.

string
extension()

Get the file's extension.

string
hashName(string|null $path = null)

Get a filename for the file.

Details

string path()

Get the fully qualified path to the file.

Return Value

string

string extension()

Get the file's extension.

Return Value

string

string hashName(string|null $path = null)

Get a filename for the file.

Parameters

string|null $path

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.