function ObjectSerialization::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Test/ObjectSerialization.php \Drupal\Core\Test\ObjectSerialization::__construct()
- 10 core/lib/Drupal/Core/Test/ObjectSerialization.php \Drupal\Core\Test\ObjectSerialization::__construct()
- 11.x core/lib/Drupal/Core/Test/ObjectSerialization.php \Drupal\Core\Test\ObjectSerialization::__construct()
ObjectSerialization constructor.
File
-
core/
lib/ Drupal/ Core/ Test/ ObjectSerialization.php, line 13
Class
- ObjectSerialization
- Object to test that security issues around serialization.
Namespace
Drupal\Core\TestCode
public function __construct() {
throw new \Exception('This object should never be constructed');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.