You are here

public function MemcachedSessionHandlerTest::getOptionFixtures in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php, line 114

Class

MemcachedSessionHandlerTest

Namespace

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

Code

public function getOptionFixtures() {
  return array(
    array(
      array(
        'prefix' => 'session',
      ),
      true,
    ),
    array(
      array(
        'expiretime' => 100,
      ),
      true,
    ),
    array(
      array(
        'prefix' => 'session',
        'expiretime' => 200,
      ),
      true,
    ),
    array(
      array(
        'expiretime' => 100,
        'foo' => 'bar',
      ),
      false,
    ),
  );
}