Settings::__sleep

public function Settings::__sleep

public Settings::__sleep()

Prevents settings from being serialized.

File

core/lib/Drupal/Core/Site/Settings.php, line 61

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

public function __sleep() {
  throw new \LogicException('Settings can not be serializ