DirectoryResource

DirectoryResource

class DirectoryResource implements SelfCheckingResourceInterface, Serializable

DirectoryResource represents a resources stored in a subdirectory tree.

Methods

__construct(string $resource, string|null $pattern = null)

Constructor.

string __toString()

Returns a string representation of the Resource.

string getResource()
string|null getPattern()

Returns