src/Response.php
public function redirectRoute($name, $params = [], $statusCode = 302) {
		$this->redirect($this->urlGenerator->generate($name, $params), $statusCode);
		return $this;
	}
public function redirectRoute($name, $params = [], $statusCode = 302) {
		$this->redirect($this->urlGenerator->generate($name, $params), $statusCode);
		return $this;
	}
public function redirectRoute ( $ name , $ params = [ ] , $ statusCode = 302 ) { $ this -> redirect ( $ this -> urlGenerator -> generate ( $ name , $ params ) , $ statusCode ) ; return $ this ; }
HTTP redirect to a named route.

@param string $routeName
@param array $params
@param int $statusCode Optional
@return self
HTTP redirect to a named route .