original_string: protected function replayMacros(Builder $query)
      {
          foreach ($this->macroBuffer as $macro) {
              $query->{$macro['method']}(...$macro['parameters']);
          }
  
          return $query;
      }
code: protected function replayMacros(Builder $query)
      {
          foreach ($this->macroBuffer as $macro) {
              $query->{$macro['method']}(...$macro['parameters']);
          }
  
          return $query;
      }
code_tokens: protected function replayMacros ( Builder $ query ) { foreach ( $ this -> macroBuffer as $ macro ) { $ query -> { $ macro [ 'method' ] } ( ... $ macro [ 'parameters' ] ) ; } return $ query ; }
docstring: Replay stored macro calls on the actual related instance.
  
  @param  \Illuminate\Database\Eloquent\Builder  $query
  @return \Illuminate\Database\Eloquent\Builder
docstring_tokens: Replay stored macro calls on the actual related instance .