<?php
namespace Nwidart\Modules\Commands;
use Illuminate\Support\Str;
use Nwidart\Modules\Support\Config\GenerateConfigReader;
use Nwidart\Modules\Support\Stub;
use Nwidart\Modules\Traits\ModuleCommandTrait;
use Symfony\Component\Console\Input\InputArgument;
class FactoryMakeCommand extends GeneratorCommand
{
use ModuleCommandTrait;
protected $argumentName = 'name';
protected $name = 'module:make-factory';
protected $description = 'Create a new model factory for the specified module.';
protected function getArguments()
{
return [
['name', InputArgument::REQUIRED, 'The name of the model.'],
['module', InputArgument::OPTIONAL, 'The name of module will be used.'],