LoaderInterface
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.
at line 28
string
getPath()
Get the path of the file (local or remote).
at line 35
bool
hasReadData()
Is the binary content already loaded?
at line 42
string
getData()
Get the file binary contents.
at line 49
string
__toString()
The string representation of this object must be the file path (local or remote).