original_string: public function hasScope(Scope $scope)
      {
          foreach ($scope->toArray() as $scopeToken) {
              if (!$this->hasScopeToken($scopeToken)) {
                  return false;
              }
          }
  
          return true;
      }
code: public function hasScope(Scope $scope)
      {
          foreach ($scope->toArray() as $scopeToken) {
              if (!$this->hasScopeToken($scopeToken)) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: public function hasScope ( Scope $ scope ) { foreach ( $ scope -> toArray ( ) as $ scopeToken ) { if ( ! $ this -> hasScopeToken ( $ scopeToken ) ) { return false ; } } return true ; }
docstring: Check if all scope tokens from the provided scope are in this object's
  scope tokens.
  
  @param Scope $scope the scope object to check
  
  @return bool
docstring_tokens: Check if all scope tokens from the provided scope are in this object s scope tokens .