Skip to content

Commit ffa4360

Browse files
committed
Merge branch '2.4' into 2.5
* 2.4: Update form_events.rst Update form_events.rst Update page_creation.rst Update page_creation.rst Update internals.rst
2 parents 5e5abd3 + 6d11002 commit ffa4360

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

book/internals.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Symfony2 internals.
1010

1111
.. note::
1212

13-
You need to read this section only if you want to understand how Symfony2
14-
works behind the scene, or if you want to extend Symfony2.
13+
You only need to read this section if you want to understand how Symfony2
14+
works behind the scenes, or if you want to extend Symfony2.
1515

1616
Overview
1717
--------

book/page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ greeted. To create the page, follow the simple two-step process.
8181
your webserver. The above URL assumes that ``localhost`` points to the
8282
``web`` directory of your new Symfony2 project. For detailed information
8383
on this process, see the documentation on the web server you are using.
84-
Here's the relevant documentation page for some web server you might be using:
84+
Here are some relevant documentation pages for the web server you might be using:
8585

8686
* For Apache HTTP Server, refer to `Apache's DirectoryIndex documentation`_
8787
* For Nginx, refer to `Nginx HttpCoreModule location documentation`_

components/form/form_events.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Registering an event listener is very easy using the Form component.
1414

1515
For example, if you wish to register a function to the
1616
``FormEvents::PRE_SUBMIT`` event, the following code lets you add a field,
17-
depending on the request' values::
17+
depending on the request values::
1818

1919
// ...
2020

@@ -349,7 +349,7 @@ Event subscribers have different uses:
349349
350350
class AddEmailFieldListener implements EventSubscriberInterface
351351
{
352-
public function getSubscribedEvents()
352+
public static function getSubscribedEvents()
353353
{
354354
return array(
355355
FormEvents::PRE_SET_DATA => 'onPreSetData',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy