class ObjectSerialization in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Test/ObjectSerialization.php \Drupal\Core\Test\ObjectSerialization
- 9 core/lib/Drupal/Core/Test/ObjectSerialization.php \Drupal\Core\Test\ObjectSerialization
Object to test that security issues around serialization.
Hierarchy
- class \Drupal\Core\Test\ObjectSerialization
Expanded class hierarchy of ObjectSerialization
1 string reference to 'ObjectSerialization'
- ConfigSingleImportExportTest::testImport in core/
modules/ config/ tests/ src/ Functional/ ConfigSingleImportExportTest.php - Tests importing a single configuration file.
File
- core/
lib/ Drupal/ Core/ Test/ ObjectSerialization.php, line 8
Namespace
Drupal\Core\TestView source
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');
}
}