function ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue()
- 8.9.x core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue()
- 10 core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue()
Provides test data for testChainExceptionOnInvalidReturnValue.
Return value
array Test input and expected result.
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainResponsePolicyTest.php, line 104
Class
- ChainResponsePolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainResponsePolicy[[api-linebreak]] @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
public static function providerChainExceptionOnInvalidReturnValue() {
return [
[
FALSE,
],
[
0,
],
[
1,
],
[
TRUE,
],
[
[
1,
2,
3,
],
],
[
new \stdClass(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.