You are here

public function ParameterBagTest::testGetDoesNotUseDeepByDefault in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/ParameterBagTest.php, line 81

Class

ParameterBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetDoesNotUseDeepByDefault() {
  $bag = new ParameterBag(array(
    'foo' => array(
      'bar' => 'moo',
    ),
  ));
  $this
    ->assertNull($bag
    ->get('foo[bar]'));
}