interface LoaderInterface

Interface for classes that can load local or remote files.

Methods

bool
isLocalFile()

Is this a local file.

string
getPath()

Get the path of the file (local or remote).

bool
hasReadData()

Is the binary content already loaded?

string
getData()

Get the file binary contents.

string
__toString()

The string representation of this object must be the file path (local or remote).

Details

at line 21
bool isLocalFile()

Is this a local file.

Return Value

bool

at line 28
string getPath()

Get the path of the file (local or remote).

Return Value

string

at line 35
bool hasReadData()

Is the binary content already loaded?

Return Value

bool

at line 42
string getData()

Get the file binary contents.

Return Value

string

at line 49
string __toString()

The string representation of this object must be the file path (local or remote).

Return Value

string