original_string: public function apply(Builder $builder) : Builder
      {
          if ($this->hasRequest()) {
              foreach ($this->request as $filter => $value) {
                  $this->resolveQueryFor($builder, $filter);
          	}
          }
  
          return $builder;
      }
code: public function apply(Builder $builder) : Builder
      {
          if ($this->hasRequest()) {
              foreach ($this->request as $filter => $value) {
                  $this->resolveQueryFor($builder, $filter);
          	}
          }
  
          return $builder;
      }
code_tokens: public function apply ( Builder $ builder ) : Builder { if ( $ this -> hasRequest ( ) ) { foreach ( $ this -> request as $ filter => $ value ) { $ this -> resolveQueryFor ( $ builder , $ filter ) ; } } return $ builder ; }
docstring: Apply an eloquent query to a given builder.
  
  @param  Builder $builder
  
  @return Builder
docstring_tokens: Apply an eloquent query to a given builder .