Skip to content

Commit

Permalink
Changed wrong method call.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed May 29, 2014
1 parent bc0fe91 commit c1dce1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/http_kernel/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ argument as follows::
// create some other request manually as needed
$request = new Request();
// for example, possibly set its _controller manually
$request->attributes->add('_controller', '...');
$request->attributes->set('_controller', '...');

$response = $kernel->handle($request, HttpKernelInterface::SUB_REQUEST);
// do something with this response
Expand Down

0 comments on commit c1dce1e

Please sign in to comment.