original_string: public function applyGlobalScopes($builder)
      {
          foreach ($this->getGlobalScopes() as $scope) {
              $scope->apply($builder, $this);
          }
  
          return $builder;
      }
code: public function applyGlobalScopes($builder)
      {
          foreach ($this->getGlobalScopes() as $scope) {
              $scope->apply($builder, $this);
          }
  
          return $builder;
      }
code_tokens: public function applyGlobalScopes ( $ builder ) { foreach ( $ this -> getGlobalScopes ( ) as $ scope ) { $ scope -> apply ( $ builder , $ this ) ; } return $ builder ; }
docstring: Apply all of the global scopes to an ORM builder.
  
  @param  \Nova\Database\ORM\Builder  $builder
  @return \Nova\Database\ORM\Builder
docstring_tokens: Apply all of the global scopes to an ORM builder .