<?php
namespace Nwidart\Modules\Generators;
use Illuminate\Filesystem\Filesystem;
use Nwidart\Modules\Exceptions\FileAlreadyExistException;
class FileGenerator extends Generator
{
protected $path;
protected $contents;
protected $filesystem;
private $overwriteFile;
public function __construct($path, $contents, $filesystem = null)
{
$this->path = $path;
$this->contents = $contents;