public function route(string $name, ?array $parameters = [], ?int $code = null)
  {
    $this->url = Route::url($name, $parameters);

    if ($code !== null) {
      $this->code = $code;
      return $this->send();
    }

    return $this;
  }
public function route(string $name, ?array $parameters = [], ?int $code = null)
  {
    $this->url = Route::url($name, $parameters);

    if ($code !== null) {
      $this->code = $code;
      return $this->send();
    }

    return $this;
  }
public function route ( string $ name , ? array $ parameters = [ ] , ? int $ code = null ) { $ this -> url = Route :: url ( $ name , $ parameters ) ; if ( $ code !== null ) { $ this -> code = $ code ; return $ this -> send ( ) ; } return $ this ; }
Redirect to route

@param string $name
@param mixed ?array
@param integer $code
@return Redirect
Redirect to route