original_string: public function registerGlobalScopes($builder)
      {
          foreach ($this->getGlobalScopes() as $identifier => $scope) {
              $builder->withGlobalScope($identifier, $scope);
          }
  
          return $builder;
      }
code: public function registerGlobalScopes($builder)
      {
          foreach ($this->getGlobalScopes() as $identifier => $scope) {
              $builder->withGlobalScope($identifier, $scope);
          }
  
          return $builder;
      }
code_tokens: public function registerGlobalScopes ( $ builder ) { foreach ( $ this -> getGlobalScopes ( ) as $ identifier => $ scope ) { $ builder -> withGlobalScope ( $ identifier , $ scope ) ; } return $ builder ; }
docstring: Register the global scopes for this builder instance.
  
  @param  \Illuminate\Database\Eloquent\Builder  $builder
  @return \Illuminate\Database\Eloquent\Builder
docstring_tokens: Register the global scopes for this builder instance .