You are here

public function CookieTest::getTestsForToFromString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::getTestsForToFromString()

File

vendor/symfony/browser-kit/Tests/CookieTest.php, line 26

Class

CookieTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function getTestsForToFromString() {
  return array(
    array(
      'foo=bar; path=/',
    ),
    array(
      'foo=bar; path=/foo',
    ),
    array(
      'foo=bar; domain=google.com; path=/',
    ),
    array(
      'foo=bar; domain=example.com; path=/; secure',
      'https://example.com/',
    ),
    array(
      'foo=bar; path=/; httponly',
    ),
    array(
      'foo=bar; domain=google.com; path=/foo; secure; httponly',
      'https://google.com/',
    ),
    array(
      'foo=bar=baz; path=/',
    ),
    array(
      'foo=bar%3Dbaz; path=/',
    ),
  );
}