public function RoutableFragmentRendererTest::getGenerateFragmentUriData in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\RoutableFragmentRendererTest::getGenerateFragmentUriData()
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php, line 35
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
public function getGenerateFragmentUriData() {
return array(
array(
'/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(), array()),
),
array(
'/_fragment?_path=_format%3Dxml%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(
'_format' => 'xml',
), array()),
),
array(
'/_fragment?_path=foo%3Dfoo%26_format%3Djson%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(
'foo' => 'foo',
'_format' => 'json',
), array()),
),
array(
'/_fragment?bar=bar&_path=foo%3Dfoo%26_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(
'foo' => 'foo',
), array(
'bar' => 'bar',
)),
),
array(
'/_fragment?foo=foo&_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(), array(
'foo' => 'foo',
)),
),
array(
'/_fragment?_path=foo%255B0%255D%3Dfoo%26foo%255B1%255D%3Dbar%26_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller',
new ControllerReference('controller', array(
'foo' => array(
'foo',
'bar',
),
), array()),
),
);
}