3 namespace Drupal\Core\Test;
6 * Object to test that security issues around serialization.
8 class ObjectSerialization {
11 * ObjectSerialization constructor.
13 public function __construct() {
14 throw new \Exception('This object should never be constructed');
18 * ObjectSerialization deconstructor.
20 public function __destruct() {
21 throw new \Exception('This object should never be destructed');