10000 Fixes for 2.3 branch by ifdattic · Pull Request #4956 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fixes for 2.3 branch #4956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
Fix formatting
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |
  • Loading branch information
ifdattic committed Feb 3, 2015
commit a8f96335bdb9f27fd589615c244f3f27b96b8d82
4 changes: 2 additions & 2 deletions reference/forms/types/options/by_reference.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To explain this further, here's a simple example::
->add('email', 'email')
)

If ``by_reference`` is true, the following takes place behind the scenes
If ``by_reference`` is ``true``, the following takes place behind the scenes
when you call ``submit()`` (or ``handleRequest()``) on the form::

$article->setTitle('...');
Expand All @@ -28,7 +28,7 @@ when you call ``submit()`` (or ``handleRequest()``) on the form::

Notice that ``setAuthor()`` is not called. The author is modified by reference.

If you set ``by_reference`` to false, submitting looks like this::
If you set ``by_reference`` to ``false``, submitting looks like this::

$article->setTitle('...');
$author = $article->getAuthor();
Expand Down
0