original_string: public function save()
      {
          // Save the session and get an identifier
          $id = $this->server->getSessionStorage()->create(
              $this->getOwnerType(),
              $this->getOwnerId(),
              $this->getClient()->getId(),
              $this->getClient()->getRedirectUri()
          );
  
          $this->setId($id);
  
          // Associate the scope with the session
          foreach ($this->getScopes() as $scope) {
              $this->server->getSessionStorage()->associateScope($this, $scope);
          }
      }
code: public function save()
      {
          // Save the session and get an identifier
          $id = $this->server->getSessionStorage()->create(
              $this->getOwnerType(),
              $this->getOwnerId(),
              $this->getClient()->getId(),
              $this->getClient()->getRedirectUri()
          );
  
          $this->setId($id);
  
          // Associate the scope with the session
          foreach ($this->getScopes() as $scope) {
              $this->server->getSessionStorage()->associateScope($this, $scope);
          }
      }
code_tokens: public function save ( ) { // Save the session and get an identifier $ id = $ this -> server -> getSessionStorage ( ) -> create ( $ this -> getOwnerType ( ) , $ this -> getOwnerId ( ) , $ this -> getClient ( ) -> getId ( ) , $ this -> getClient ( ) -> getRedirectUri ( ) ) ; $ this -> setId ( $ id ) ; // Associate the scope with the session foreach ( $ this -> getScopes ( ) as $ scope ) { $ this -> server -> getSessionStorage ( ) -> associateScope ( $ this , $ scope ) ; } }
docstring: Save the session
  
  @return void
docstring_tokens: Save the session