protected function createFactory()
    {
        $factory = Str::studly(class_basename($this->argument('name')));

        $this->call('make:factory', [
            'name' => "{$factory}Factory",
            '--model' => $this->argument('name'),
        ]);
    }
protected function createFactory()
    {
        $factory = Str::studly(class_basename($this->argument('name')));

        $this->call('make:factory', [
            'name' => "{$factory}Factory",
            '--model' => $this->argument('name'),
        ]);
    }
protected function createFactory ( ) { $ factory = Str :: studly ( class_basename ( $ this -> argument ( 'name' ) ) ) ; $ this -> call ( 'make:factory' , [ 'name' => "{$factory}Factory" , '--model' => $ this -> argument ( 'name' ) , ] ) ; }
Create a model factory for the model.
Create a model factory for the model .