public function LegacyApacheMatcherDumperTest::provideEscapeFixtures in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\LegacyApacheMatcherDumperTest::provideEscapeFixtures()
File
- vendor/
symfony/ routing/ Tests/ Matcher/ Dumper/ LegacyApacheMatcherDumperTest.php, line 47
Class
- LegacyApacheMatcherDumperTest
- @group legacy
Namespace
Symfony\Component\Routing\Tests\Matcher\DumperCode
public function provideEscapeFixtures() {
return array(
array(
'foo',
'foo',
' ',
'-',
'Preserve string that should not be escaped',
),
array(
'fo-o',
'fo-o',
' ',
'-',
'Preserve string that should not be escaped',
),
array(
'fo o',
'fo- o',
' ',
'-',
'Escape special characters',
),
array(
'fo-- o',
'fo--- o',
' ',
'-',
'Escape special characters',
),
array(
'fo- o',
'fo- o',
' ',
'-',
'Do not escape already escaped string',
),
);
}