You are here

public function NativeFileSessionHandlerTest::savePathDataProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeFileSessionHandlerTest::savePathDataProvider()

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php, line 55

Class

NativeFileSessionHandlerTest
Test class for NativeFileSessionHandler.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler

Code

public function savePathDataProvider() {
  $base = sys_get_temp_dir();
  return array(
    array(
      "{$base}/foo",
      "{$base}/foo",
      "{$base}/foo",
    ),
    array(
      "5;{$base}/foo",
      "5;{$base}/foo",
      "{$base}/foo",
    ),
    array(
      "5;0600;{$base}/foo",
      "5;0600;{$base}/foo",
      "{$base}/foo",
    ),
  );
}