ObjectSerialization.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\TestFile
core/lib/Drupal/Core/Test/ObjectSerialization.phpView source
<?php
namespace Drupal\Core\Test;
/**
* Object to test that security issues around serialization.
*/
class ObjectSerialization {
/**
* ObjectSerialization constructor.
*/
public function __construct() {
throw new \Exception('This object should never be constructed');
}
/**
* ObjectSerialization deconstructor.
*/
public function __destruct() {
throw new \Exception('This object should never be destructed');
}
}
Classes
Name | Description |
---|---|
ObjectSerialization | Object to test that security issues around serialization. |