public __construct ( $path, $contents, null $filesystem = null ) | ||
$path | ||
$contents | ||
$filesystem | null |
public function __construct($path, $contents, $filesystem = null)
{
$this->path = $path;
$this->contents = $contents;
$this->filesystem = $filesystem ?: new Filesystem();
}