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

route() public method

Generate route.
public route ( ) : void
return void
    public function route()
    {
        $this->append($this->paths->routePath(), $this->route->generate());
    }

Usage Example

 /**
  * Scaffold Route.
  *
  * @return \Amranidev\ScaffoldInterface\Scaffold
  */
 public function route()
 {
     $this->generator->route();
     return $this;
 }