File tree Expand file tree Collapse file tree 17 files changed +25
-21
lines changed
Filter options
Expand file tree Collapse file tree 17 files changed +25
-21
lines changed
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ This results in:
222
222
.. tip ::
223
223
224
224
You can create a multiple-line page title using a header cell that spans
225
- the enire table width::
225
+ the entire table width::
226
226
227
227
$table->setHeaders(array(
228
228
array(new TableCell('Main table title', array('colspan' => 3))),
Original file line number Diff line number Diff line change @@ -82,7 +82,11 @@ directory to use for the search::
82
82
Search in several locations by chaining calls to
83
83
:method: `Symfony\\ Component\\ Finder\\ Finder::in `::
84
84
85
- $finder->files()->in(__DIR__)->in('/elsewhere');
85
+ // search inside *both* directories
86
+ $finder->files()->in(array(__DIR__, '/elsewhere'));
87
+
88
+ // same as above
89
+ $finder->in(__DIR__)->in('/elsewhere');
86
90
87
91
Use wildcard characters to search in the directories matching a pattern::
88
92
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ instead::
177
177
}
178
178
179
179
Now, once you created the required services and logic, the command will execute
180
- the ``generate () `` method of the ``app.user_manager `` service and the user will
180
+ the ``create () `` method of the ``app.user_manager `` service and the user will
181
181
be created.
182
182
183
183
Command Lifecycle
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ and adding a priority.
172
172
// app/config/services.php
173
173
use Symfony\Component\DependencyInjection\Definition;
174
174
175
- $defintion = new Definition(
175
+ $definition = new Definition(
176
176
'AppBundle\ArgumentResolver\UserValueResolver',
177
177
array(new Reference('security.token_storage'))
178
178
);
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ Configuring the Environment in the Dashboard
175
175
PHP Settings
176
176
~~~~~~~~~~~~
177
177
178
- The PHP version and enabled extensions are configuable under the PHP settings
178
+ The PHP version and enabled extensions are configurable under the PHP settings
179
179
of your App within the fortrabbit Dashboard.
180
180
181
181
Environment Variables
@@ -187,7 +187,7 @@ config files get loaded. ENV vars are configuable in fortrabbit Dashboard as wel
187
187
Document Root
188
188
~~~~~~~~~~~~~
189
189
190
- The document root is configuable for every custom domain you setup for your App.
190
+ The document root is configurable for every custom domain you setup for your App.
191
191
The default is ``/htdocs ``, but for Symfony you probably want to change it to
192
192
``/htdocs/web ``. You also do so in the fortrabbit Dashboard under ``Domain `` settings.
193
193
Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ Doctrine allows you to use any PHP object to hold your data and relies on
887
887
mapping metadata information to map an object's data to a particular database
888
888
table.
889
889
890
- Doctrine has a lot more complex features to learn, like relationshps , complex queries,
890
+ Doctrine has a lot more complex features to learn, like relationships , complex queries,
891
891
and event listeners.
892
892
893
893
Learn more
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ to hold those associated objects.
162
162
163
163
While the many-to-one mapping shown earlier was mandatory, this one-to-many
164
164
mapping is optional. It is included here to help demonstrate Doctrine's range
165
- of relationship management capabailties . Plus, in the context of this application,
165
+ of relationship management capabilities . Plus, in the context of this application,
166
166
it will likely be convenient for each ``Category `` object to automatically
167
167
own a collection of its related ``Product `` objects.
168
168
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Suppose you have a Task form with a tags ``text`` type::
49
49
}
50
50
51
51
Internally the ``tags `` are stored as an array, but displayed to the user as a
52
- simple comma seperated string to make them easier to edit.
52
+ simple comma separated string to make them easier to edit.
53
53
54
54
This is a *perfect * time to attach a custom data transformer to the ``tags ``
55
55
field. The easiest way to do this is with the :class: `Symfony\\ Component\\ Form\\ CallbackTransformer `
Original file line number Diff line number Diff line change @@ -82,4 +82,4 @@ method, pass the submitted data directly to
82
82
When submitting a form via a "PATCH" request, you may want to update only a few
83
83
submitted fields. To achieve this, you may pass an optional second boolean
84
84
parameter to ``submit() ``. Passing ``false `` will remove any missing fields
85
- within the form object. Otherwise, the mising fields will be set to ``null ``.
85
+ within the form object. Otherwise, the missing fields will be set to ``null ``.
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ trusted_hosts
311
311
312
312
A lot of different attacks have been discovered relying on inconsistencies
313
313
in handling the ``Host `` header by various software (web servers, reverse
314
- proxies, web frameworks, etc.). Basically, everytime the framework is
314
+ proxies, web frameworks, etc.). Basically, every time the framework is
315
315
generating an absolute URL (when sending an email to reset a password for
316
316
instance), the host might have been manipulated by an attacker.
317
317
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ These options inherit from the :doc:`ChoiceType </reference/forms/types/choice>`
263
263
.. note ::
264
264
265
265
This option expects an array of entity objects (that's actually the same as with
266
- the ``ChoiceType `` field, whichs requires an array of the preferred "values").
266
+ the ``ChoiceType `` field, which requires an array of the preferred "values").
267
267
268
268
.. include :: /reference/forms/types/options/choice_type_translation_domain.rst.inc
269
269
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ search_password
196
196
197
197
**type **: ``string `` **default **: ``null ``
198
198
199
- This is your read-only user's password, wich will be used to authenticate
199
+ This is your read-only user's password, which will be used to authenticate
200
200
against the LDAP server in order to fetch the user's information.
201
201
202
202
default_roles
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ How to Create your Custom Encoder
6
6
7
7
The :doc: `Serializer Component </components/serializer >` uses Normalizers
8
8
to transform any data to an array. Then, by leveraging *Encoders *, that data can
9
- be convereted into any data-structure (e.g. JSON).
9
+ be converted into any data-structure (e.g. JSON).
10
10
11
11
The Component provides several built-in encoders that are described
12
12
:doc: `in their own section </serializer/encoders >` but you may want
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ fetched from the container::
96
96
.. caution ::
97
97
98
98
Don't use ``get() `` to get a service that you want to inject as constructor
99
- argument, the service is not yet availabe . Instead, use a
99
+ argument, the service is not yet available . Instead, use a
100
100
``Reference `` instance as shown above.
101
101
102
102
Method Calls
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ convention, the old ``app.mailer`` service is renamed to
154
154
155
155
use Symfony\Component\DependencyInjection\Reference;
156
156
157
- $container->register('app.decorating_mailer', 'AppBundle\DeocratingMailer ')
157
+ $container->register('app.decorating_mailer', 'AppBundle\DecoratingMailer ')
158
158
->setDecoratedService('foo', 'app.decorating_mailer.wooz')
159
159
->addArgument(new Reference('app.decorating_mailer.wooz'))
160
160
// ...
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ The **minimum configuration** to get your application running under Apache is:
50
50
</Directory>
51
51
52
52
# uncomment the following lines if you install assets as symlinks
53
- # or run into problems when compiling LESS/Sass/CoffeScript assets
53
+ # or run into problems when compiling LESS/Sass/CoffeeScript assets
54
54
# <Directory /var/www/project>
55
55
# Options FollowSymlinks
56
56
# </Directory>
@@ -88,7 +88,7 @@ and increase web server performance:
88
88
</Directory>
89
89
90
90
# uncomment the following lines if you install assets as symlinks
91
- # or run into problems when compiling LESS/Sass/CoffeScript assets
91
+ # or run into problems when compiling LESS/Sass/CoffeeScript assets
92
92
# <Directory /var/www/project>
93
93
# Options FollowSymlinks
94
94
# </Directory>
@@ -200,7 +200,7 @@ directive to pass requests for PHP files to PHP FPM:
200
200
</Directory>
201
201
202
202
# uncomment the following lines if you install assets as symlinks
203
- # or run into problems when compiling LESS/Sass/CoffeScript assets
203
+ # or run into problems when compiling LESS/Sass/CoffeeScript assets
204
204
# <Directory /var/www/project>
205
205
# Options FollowSymlinks
206
206
# </Directory>
@@ -236,7 +236,7 @@ should look something like this:
236
236
</Directory>
237
237
238
238
# uncomment the following lines if you install assets as symlinks
239
- # or run into problems when compiling LESS/Sass/CoffeScript assets
239
+ # or run into problems when compiling LESS/Sass/CoffeeScript assets
240
240
# <Directory /var/www/project>
241
241
# Options FollowSymlinks
242
242
# </Directory>
Original file line number Diff line number Diff line change @@ -923,7 +923,7 @@ Suppose ``description`` equals ``I <3 this product``:
923
923
924
924
.. code-block :: twig
925
925
926
- <!-- outupt escaping is on automatically -->
926
+ <!-- output escaping is on automatically -->
927
927
{{ description }} <!-- I <3 this product -->
928
928
929
929
<!-- disable output escaping with the raw filter -->
You can’t perform that action at this time.
0 commit comments