class GenericFile implements File

Properties

protected string $url

The file URL.

Methods

__construct(string $url)

Create a new instance.

string
getUrl()

Get the file URL.

Details

at line 21
__construct(string $url)

Create a new instance.

Parameters

string $url

at line 28
string getUrl()

Get the file URL.

This may be a remote URL starting with "http://" or "https://", or a storage disk path starting with "[disk-name]://".

Return Value

string