You are here

public function Client::__sleep in OAuth2 Server 8

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

Overrides ConfigEntityBase::__sleep

File

src/Entity/Client.php, line 166

Class

Client
Defines the OAuth2 client entity.

Namespace

Drupal\oauth2_server\Entity

Code

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