public function addRoute(array $methods, string $path, string $handler)
  {
    $this->routeCollector->addRoute(
      $methods,
      $this->getPrefix().$path,
      $handler
    );

    return $this;
  }
public function addRoute(array $methods, string $path, string $handler)
  {
    $this->routeCollector->addRoute(
      $methods,
      $this->getPrefix().$path,
      $handler
    );

    return $this;
  }
public function addRoute ( array $ methods , string $ path , string $ handler ) { $ this -> routeCollector -> addRoute ( $ methods , $ this -> getPrefix ( ) . $ path , $ handler ) ; return $ this ; }
Add a new route in the route collector

@param      array   $methods  The methods
@param      string  $path     [description]
@param      string  $handler  [description]

@return     self
Add a new route in the route collector