You are here

public function RoutableFragmentRendererTest::getGenerateFragmentUriDataWithNonScalar in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\RoutableFragmentRendererTest::getGenerateFragmentUriDataWithNonScalar()

File

vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php, line 66

Class

RoutableFragmentRendererTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

public function getGenerateFragmentUriDataWithNonScalar() {
  return array(
    array(
      new ControllerReference('controller', array(
        'foo' => new Foo(),
        'bar' => 'bar',
      ), array()),
    ),
    array(
      new ControllerReference('controller', array(
        'foo' => array(
          'foo' => 'foo',
        ),
        'bar' => array(
          'bar' => new Foo(),
        ),
      ), array()),
    ),
  );
}