class UnserializableRequest
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php \Drupal\Tests\Core\TempStore\UnserializableRequest
- 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\TempStoreView source
class UnserializableRequest extends Request {
/**
* @return array
*/
public function __serialize() : array {
throw new \LogicException('Oops!');
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.