trait Illuminate / Http / FileHelpers
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

FileHelpers

Properties

protected

$hashName string

The cache copy of the file's hash name.

Default: null

Methods

public

path ( ) : string

Get the fully qualified path to the file.

public

extension ( ) : string

Get the file's extension.

public

hashName ( $path ) : string

Get a filename for the file.

Parameters

  • $path string|null
public

dimensions ( ) : array|null

Get the dimensions of the image (if applicable).