File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Filter options
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ Authorization (i.e. Denying Access)
73
73
74
74
Symfony gives you several ways to enforce authorization, including the ``access_control ``
75
75
configuration in `security.yml `_, the :ref: `@Security annotation <best-practices-security-annotation >`
76
- and using :ref: `isGranted <best-practices-directy -isGranted >` on the ``security.context ``
76
+ and using :ref: `isGranted <best-practices-directly -isGranted >` on the ``security.context ``
77
77
service directly.
78
78
79
79
.. best-practice ::
@@ -204,7 +204,7 @@ Now you can reuse this method both in the template and in the security expressio
204
204
<a href=""> ... </a>
205
205
{% endif %}
206
206
207
- .. _best-practices-directy -isGranted :
207
+ .. _best-practices-directly -isGranted :
208
208
209
209
Checking Permissions without @Security
210
210
--------------------------------------
@@ -353,7 +353,7 @@ develop `your own user provider`_ and `your own authentication provider`_.
353
353
.. _`@Security annotation` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
354
354
.. _`security.yml` : http://symfony.com/doc/current/reference/configuration/security.html
355
355
.. _`security voter` : http://symfony.com/doc/current/cookbook/security/voters_data_permission.html
356
- .. _`Acces Control List` : http://symfony.com/doc/current/cookbook/security/acl.html
356
+ .. _`Access Control List` : http://symfony.com/doc/current/cookbook/security/acl.html
357
357
.. _`ACL's` : http://symfony.com/doc/current/cookbook/security/acl.html
358
358
.. _`expression` : http://symfony.com/doc/current/components/expression_language/introduction.html
359
359
.. _`FOSUserBundle` : https://github.com/FriendsOfSymfony/FOSUserBundle
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ from the command line, you need to overwrite the HelperSet used by the command::
258
258
259
259
$dialog = $command->getHelper('dialog');
260
260
$dialog->setInputStream($this->getInputStream("Test\n"));
261
- // Equals to a user inputing "Test" and hitting ENTER
261
+ // Equals to a user inputting "Test" and hitting ENTER
262
262
// If you need to enter a confirmation, "yes\n" will work
263
263
264
264
$commandTester->execute(array('command' => $command->getName()));
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ Pluralization
226
226
-------------
227
227
228
228
Message pluralization is a tough topic as the rules can be quite complex. For
229
- instance, here is the mathematic representation of the Russian pluralization
229
+ instance, here is the mathematical representation of the Russian pluralization
230
230
rules::
231
231
232
232
(($number % 10 == 1) && ($number % 100 != 11))
Original file line number Diff line number Diff line change @@ -235,4 +235,4 @@ properties not in the class declaration).
235
235
236
236
.. tip ::
237
237
238
- Before writting your own casters, you should check the existing ones.
238
+ Before writing your own casters, you should check the existing ones.
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ DebugBundle and Twig Integration
67
67
68
68
The ``DebugBundle `` allows greater integration of the component into the
69
69
Symfony full stack framework. It is enabled by default in the *dev * and *test *
70
- environement of the standard edition since version 2.6.
70
+ environment of the standard edition since version 2.6.
71
71
72
72
Since generating (even debug) output in the controller or in the model
73
73
of your application may just break it by e.g. sending HTTP headers or
@@ -131,7 +131,7 @@ then its dump representation::
131
131
132
132
.. note ::
133
133
134
- The gray arrow is a toggle button for hidding /showing children of
134
+ The gray arrow is a toggle button for hiding /showing children of
135
135
nested structures.
136
136
137
137
.. code-block :: php
@@ -232,7 +232,7 @@ then its dump representation::
232
232
"When a dump goes over its maximum items limit,\n"
233
233
."or when some special objects are encountered,\n"
234
234
."children can be replaced by an ellipsis and\n"
235
- ."optionnally followed by a number that says how\n"
235
+ ."optionally followed by a number that says how\n"
236
236
."many have been removed; `9` in this case.\n"
237
237
);
238
238
dump($var);
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Symfony Twig Extensions
8
8
9
9
Twig is the default template engine for Symfony. By itself, it already contains
10
10
a lot of built-in functions, filters, tags and tests (learn more about them
11
- from the the `Twig Reference `_).
11
+ from the `Twig Reference `_).
12
12
13
13
Symfony adds more custom extensions on top of Twig to integrate some components
14
14
into the Twig templates. You can find more information about the custom
You can’t perform that action at this time.
0 commit comments