FileHelpers
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.
array|null
dimensions()
Get the dimensions of the image (if applicable).
Details
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.
array|null
dimensions()
Get the dimensions of the image (if applicable).