FileExistenceResource

FileExistenceResource

class FileExistenceResource implements SelfCheckingResourceInterface, Serializable

FileExistenceResource represents a resource stored on the filesystem.

Freshness is only evaluated against resource creation or deletion.

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() <