original_string: public function apply(Builder $builder)
      {
          $this->builder = $builder;
  
          if (method_exists($this, $this->orderBy())) {
              call_user_func([$this, $this->orderBy()]);
          }
  
          return $this->builder;
      }
code: public function apply(Builder $builder)
      {
          $this->builder = $builder;
  
          if (method_exists($this, $this->orderBy())) {
              call_user_func([$this, $this->orderBy()]);
          }
  
          return $this->builder;
      }
code_tokens: public function apply ( Builder $ builder ) { $ this -> builder = $ builder ; if ( method_exists ( $ this , $ this -> orderBy ( ) ) ) { call_user_func ( [ $ this , $ this -> orderBy ( ) ] ) ; } return $ this -> builder ; }
docstring: Apply the sorter to the builder.
  
  @param Builder $builder The builder instance.
  
  @return Builder
docstring_tokens: Apply the sorter to the builder .