File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Symfony2 internals.
10
10
11
11
.. note ::
12
12
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.
15
15
16
16
Overview
17
17
--------
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ greeted. To create the page, follow the simple two-step process.
81
81
your webserver. The above URL assumes that ``localhost `` points to the
82
82
``web `` directory of your new Symfony2 project. For detailed information
83
83
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:
85
85
86
86
* For Apache HTTP Server, refer to `Apache's DirectoryIndex documentation `_
87
87
* For Nginx, refer to `Nginx HttpCoreModule location documentation `_
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Registering an event listener is very easy using the Form component.
14
14
15
15
For example, if you wish to register a function to the
16
16
``FormEvents::PRE_SUBMIT `` event, the following code lets you add a field,
17
- depending on the request' values::
17
+ depending on the request values::
18
18
19
19
// ...
20
20
@@ -349,7 +349,7 @@ Event subscribers have different uses:
349
349
350
350
class AddEmailFieldListener implements EventSubscriberInterface
351
351
{
352
- public function getSubscribedEvents()
352
+ public static function getSubscribedEvents()
353
353
{
354
354
return array(
355
355
FormEvents::PRE_SET_DATA => 'onPreSetData',
You can’t perform that action at this time.
0 commit comments