RedirectResponse
redirectToIntended(string $default = '/', int $status = 302, array $headers = array(), bool|null $secure = null)
Create a new redirect response to the previously intended location. Parameters string $default int $status array $headers bool|null $secure Return Value RedirectResponse