namespace TypistTech\Imposter;
interface FilesystemInterface
public function allFiles(string $path): array;
* Extract the parent directory from a file path.
public function dirname(string $path): string;
* Get the contents of a file.
public function get(string $path): string;
* Determine if the given path is a file.
public function isFile(string $path): bool;
* Determine if the given path is a directory.
public function isDir(string $path);
* Write the contents of a file.
* @param string $contents
public function put(string $path, string $contents);