original_string: protected function fullUrlWithoutQuery($keys)
      {
          if ($keys instanceof Arrayable) {
              $keys = $keys->toArray();
          }
  
          $keys = (array) $keys;
  
          $request = request();
  
          $query = $request->query();
          Arr::forget($query, $keys);
  
          $question = $request->getBaseUrl().$request->getPathInfo() == '/' ? '/?' : '?';
  
          return count($request->query()) > 0
              ? $request->url().$question.http_build_query($query)
              : $request->fullUrl();
      }
code: protected function fullUrlWithoutQuery($keys)
      {
          if ($keys instanceof Arrayable) {
              $keys = $keys->toArray();
          }
  
          $keys = (array) $keys;
  
          $request = request();
  
          $query = $request->query();
          Arr::forget($query, $keys);
  
          $question = $request->getBaseUrl().$request->getPathInfo() == '/' ? '/?' : '?';
  
          return count($request->query()) > 0
              ? $request->url().$question.http_build_query($query)
              : $request->fullUrl();
      }
code_tokens: protected function fullUrlWithoutQuery ( $ keys ) { if ( $ keys instanceof Arrayable ) { $ keys = $ keys -> toArray ( ) ; } $ keys = ( array ) $ keys ; $ request = request ( ) ; $ query = $ request -> query ( ) ; Arr :: forget ( $ query , $ keys ) ; $ question = $ request -> getBaseUrl ( ) . $ request -> getPathInfo ( ) == '/' ? '/?' : '?' ; return count ( $ request -> query ( ) ) > 0 ? $ request -> url ( ) . $ question . http_build_query ( $ query ) : $ request -> fullUrl ( ) ; }
docstring: Get full url without query strings.
  
  @param Arrayable|array|string $keys
  
  @return string
docstring_tokens: Get full url without query strings .