/** * @inheritdoc */ public function redirect($to, $code = Response::HTTP_MOVED_PERMANENTLY, $headers = array()) { return RedirectResponse::create($to, $code, $headers); }