public function ParameterBagTest::testGetDoesNotUseDeepByDefault

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/ParameterBagTest.php, line 59

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]'));
}