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

dir() public method

Generate views directory.
public dir ( ) : void
return void
    public function dir()
    {
        $this->makeDir($this->paths->dirPath());
    }

Usage Example

 /**
  * 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;
 }