code: protected function redirect($name, array $params = array(), $statusCode = 302)
  	{
  		return new RedirectResponse($this->url($name, $params), $statusCode);
  	}
docs: Create a redirect response.
  
  @param  string  $name       Name of the route to redirect to
  @param  array   $params     Route parameters
  @param  integer $statusCode Default: 302
  
  @return \Symfony\Component\HttpFoundation\RedirectResponse