original_string: public function associateScope(ScopeEntity $scope)
      {
          if (!isset($this->scopes[$scope->getId()])) {
              $this->scopes[$scope->getId()] = $scope;
          }
  
          return $this;
      }
code: public function associateScope(ScopeEntity $scope)
      {
          if (!isset($this->scopes[$scope->getId()])) {
              $this->scopes[$scope->getId()] = $scope;
          }
  
          return $this;
      }
code_tokens: public function associateScope ( ScopeEntity $ scope ) { if ( ! isset ( $ this -> scopes [ $ scope -> getId ( ) ] ) ) { $ this -> scopes [ $ scope -> getId ( ) ] = $ scope ; } return $ this ; }
docstring: Associate a scope
  
  @param \League\OAuth2\Server\Entity\ScopeEntity $scope
  
  @return self
docstring_tokens: Associate a scope