Skip to content

Commit

Permalink
bug #3891 Fixed wrong method call. (cmfcmf)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3891).

Discussion
----------

Fixed wrong method call.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | ---
| Fixed tickets | ---

Commits
-------

c1dce1e Changed wrong method call.
  • Loading branch information
weaverryan committed Jun 7, 2014
2 parents b00573c + a68de6d commit 8257be9
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 @@ -658,7 +658,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 8257be9

Please sign in to comment.