public function ContainerBuilder::__sleep in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::__sleep()
File
- lib/
Drupal/ Core/ DependencyInjection/ ContainerBuilder.php, line 120 - Contains \Drupal\Core\DependencyInjection\ContainerBuilder.
Class
- ContainerBuilder
- Drupal's dependency injection container builder.
Namespace
Drupal\Core\DependencyInjectionCode
public function __sleep() {
trigger_error('The container was serialized.', E_USER_ERROR);
return array_keys(get_object_vars($this));
}