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

index() public method

Generate index.
public index ( ) : void
return void
    public function index()
    {
        $this->make($this->paths->indexPath(), $this->view->generateIndex());
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Scaffold Views.
  *
  * @return \Amranidev\ScaffoldInterface\Scaffold
  */
 public function views()
 {
     $this->generator->dir();
     $this->generator->index();
     $this->generator->create();
     $this->generator->show();
     $this->generator->edit();
     return $this;
 }