Amranidev\ScaffoldInterface\Generators\Generator::model PHP Method

model() public method

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

Usage Example

Ejemplo n.º 1
0
 /**
  * Scaffold Model.
  *
  * @return \Amranidev\ScaffoldInterface\Scaffold
  */
 public function model()
 {
     $this->generator->model();
     return $this;
 }