public function HttpCacheTest::getXForwardedForData

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php, line 1061

Class

HttpCacheTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function getXForwardedForData() {
  return array(
    array(
      false,
      '10.0.0.1',
    ),
    array(
      '10.0.0.2',
      '10.0.0.2, 10.0.0.1',
    ),
    array(
      '10.0.0.2, 10.0.0.3',
      '10.0.0.2, 10.0.0.3, 10.0.0.1',
    ),
  );
}