A simple directory abstraction.
getFile($path)
A reference to the file at the given path, even if it doesn't exist yet.
getFiles($path= '')
Recursively list the files in the given directory path.
isFile($path)
Whether this directory has an existing file at the given location.
includeFile($path)
Do a PHP include of the file and return the result.
putContents($path, $content)
Write a file, overwriting the contents if necessary.
getContents($path)
Read the file off the filesystem.
chroot($path)
Returns a subdirectory with access limited to the given directory.
$content
Set robots.txt action.