FileResource

FileResource

class FileResource implements SelfCheckingResourceInterface, Serializable

FileResource represents a resource stored on the filesystem.

The resource can be a file or a directory.

Methods

__construct(string $resource)

Constructor.

string __toString()

Returns a string representation of the Resource.

string getResource()
bool isFresh(int $timestamp)

Return