You are here

public function ContainerBuilder::__sleep in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::__sleep()

File

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 93
Contains \Drupal\Core\DependencyInjection\ContainerBuilder.

Class

ContainerBuilder
Drupal's dependency injection container builder.

Namespace

Drupal\Core\DependencyInjection

Code

public function __sleep() {
  assert(FALSE, 'The container was serialized.');
  return array_keys(get_object_vars($this));
}