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