Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

ObjectSerialization.php

Namespace

Drupal\Core\Test

File

core/lib/Drupal/Core/Test/ObjectSerialization.php

View 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 destructor.
     */
    public function __destruct() {
        throw new \Exception('This object should never be destructed');
    }

}

Classes

Title Deprecated Summary
ObjectSerialization Object to test that security issues around serialization.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal