protected function makeModel()
    {
        $modelPath = $this->getModelPath($this->getModelName());

        if ($this->option('model') && !$this->files->exists($modelPath)) {
            $this->call('make:model', [
                'name' => $this->getModelName()
            ]);
        }
    }
protected function makeModel()
    {
        $modelPath = $this->getModelPath($this->getModelName());

        if ($this->option('model') && !$this->files->exists($modelPath)) {
            $this->call('make:model', [
                'name' => $this->getModelName()
            ]);
        }
    }
protected function makeModel ( ) { $ modelPath = $ this -> getModelPath ( $ this -> getModelName ( ) ) ; if ( $ this -> option ( 'model' ) && ! $ this -> files -> exists ( $ modelPath ) ) { $ this -> call ( 'make:model' , [ 'name' => $ this -> getModelName ( ) ] ) ; } }
Generate an Eloquent model, if the user wishes.
Generate an Eloquent model if the user wishes .