original_string: protected function getRedirectUrl()
      {
          $url = $this->redirector->getUrlGenerator();
  
          if ($this->redirect) {
              return $url->to($this->redirect);
          } elseif ($this->redirectRoute) {
              return $url->route($this->redirectRoute);
          } elseif ($this->redirectAction) {
              return $url->action($this->redirectAction);
          }
  
          return $url->previous();
      }
code: protected function getRedirectUrl()
      {
          $url = $this->redirector->getUrlGenerator();
  
          if ($this->redirect) {
              return $url->to($this->redirect);
          } elseif ($this->redirectRoute) {
              return $url->route($this->redirectRoute);
          } elseif ($this->redirectAction) {
              return $url->action($this->redirectAction);
          }
  
          return $url->previous();
      }
code_tokens: protected function getRedirectUrl ( ) { $ url = $ this -> redirector -> getUrlGenerator ( ) ; if ( $ this -> redirect ) { return $ url -> to ( $ this -> redirect ) ; } elseif ( $ this -> redirectRoute ) { return $ url -> route ( $ this -> redirectRoute ) ; } elseif ( $ this -> redirectAction ) { return $ url -> action ( $ this -> redirectAction ) ; } return $ url -> previous ( ) ; }
docstring: Get the URL to redirect to on a validation error.
  
  @return string
docstring_tokens: Get the URL to redirect to on a validation error .