From f82b32e4f7aedb74abab631ca00d20ad0353abc0 Mon Sep 17 00:00:00 2001 From: Oliver THEBAULT Date: Sun, 6 Mar 2016 19:21:17 +0100 Subject: [PATCH] [HttpFoundation] ParameterBag::get() $deep param --- components/http_foundation/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index c370c3e0ae8..2604f3a4a72 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -164,8 +164,8 @@ When PHP imports the request query, it handles request parameters like $request->query->get('foo'); // returns array('bar' => 'bar') - $request->query->get('foo[bar]'); - // returns null + $request->query->get('foo')['bar']; + // returns 'bar' .. _component-foundation-attributes: