You are here

public function AcceptHeaderItemTest::provideToStringData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/AcceptHeaderItemTest.php \Symfony\Component\HttpFoundation\Tests\AcceptHeaderItemTest::provideToStringData()

File

vendor/symfony/http-foundation/Tests/AcceptHeaderItemTest.php, line 59

Class

AcceptHeaderItemTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function provideToStringData() {
  return array(
    array(
      'text/html',
      array(),
      'text/html',
    ),
    array(
      'text/plain',
      array(
        'charset' => 'utf-8',
        'param' => 'this;should,not=matter',
        'footnotes' => 'true',
      ),
      'text/plain;charset=utf-8;param="this;should,not=matter";footnotes=true',
    ),
  );
}