class UnserializableRequest

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php \Drupal\Tests\Core\TempStore\UnserializableRequest
  2. 11.x core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php \Drupal\Tests\Core\TempStore\UnserializableRequest

A class for testing.

Hierarchy

  • class \Drupal\Tests\Core\TempStore\UnserializableRequest extends \Symfony\Component\HttpFoundation\Request

Expanded class hierarchy of UnserializableRequest

File

core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php, line 429

Namespace

Drupal\Tests\Core\TempStore
View source
class UnserializableRequest extends Request {
    
    /**
     * @return array
     */
    public function __serialize() : array {
        throw new \LogicException('Oops!');
    }

}

Members

Title Sort descending Modifiers Object type Summary
UnserializableRequest::__serialize public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.