Mojopollo\Schema\Commands\MakeMigrationJsonCommand::__construct PHP Method

__construct() public method

Create a new command instance.
public __construct ( MakeMigrationJson $makeMigrationJson, Illuminate\Filesystem\Filesystem $filesystem )
$makeMigrationJson Mojopollo\Schema\MakeMigrationJson
$filesystem Illuminate\Filesystem\Filesystem
    public function __construct(MakeMigrationJson $makeMigrationJson, Filesystem $filesystem)
    {
        parent::__construct();
        // Set MakeMigrationJson instance
        $this->makeMigrationJson = $makeMigrationJson;
        // Set Filesystem instance
        $this->filesystem = $filesystem;
    }