You are here

public function Scope::__sleep in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Scope.php \Drupal\oauth2_server\Entity\Scope::__sleep()

Overrides ConfigEntityBase::__sleep

File

src/Entity/Scope.php, line 150

Class

Scope
Defines the OAuth2 scope entity.

Namespace

Drupal\oauth2_server\Entity

Code

public function __sleep() {
  $this->server = NULL;
  parent::__sleep();
}