function WriteSafeSessionHandlerTest::providerTestOtherMethods
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::providerTestOtherMethods()
- 8.9.x core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::providerTestOtherMethods()
- 10 core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::providerTestOtherMethods()
Provides test data for the other methods test.
Return value
array Test data.
File
-
core/
tests/ Drupal/ Tests/ Core/ Session/ WriteSafeSessionHandlerTest.php, line 165
Class
Namespace
Drupal\Tests\Core\SessionCode
public static function providerTestOtherMethods() {
return [
[
'open',
TRUE,
[
'/some/path',
'some-session-id',
],
],
[
'read',
'some-session-data',
[
'a-session-id',
],
],
[
'close',
TRUE,
[],
],
[
'destroy',
TRUE,
[
'old-session-id',
],
],
[
'gc',
0,
[
42,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.