Amranidev\ScaffoldInterface\Filesystem\Path::modelPath PHP Method

modelPath() public method

Get model file path.
public modelPath ( ) : string
return string
    public function modelPath()
    {
        return config('amranidev.config.model') . '/' . ucfirst($this->parser->singular()) . '.php';
    }

Usage Example

 /**
  * Generate Model.
  *
  * @return void
  */
 public function model()
 {
     $this->make($this->paths->modelPath(), $this->model->generate());
 }