Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0cf1828

Browse files
committed
1 parent33676dc commit0cf1828

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

‎book/routing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ Completely Customized Route Matching with Conditions
728728

729729
As you've seen, a route can be made to match only certain routing wildcards
730730
(via regular expressions), HTTP methods, or host names. But the routing system
731-
can be extended toalmost an infinite flexibilitywith ``conditions``:
731+
can be extended tohave analmostinfinite flexibilityusing ``conditions``:
732732

733733
..configuration-block::
734734

@@ -775,13 +775,13 @@ can be extended to almost an infinite flexibility with ``conditions``:
775775
776776
return $collection;
777777
778-
The ``condition`` is an expression, and you can learn more aboutit syntax
778+
The ``condition`` is an expression, and you can learn more aboutits syntax
779779
here::doc:`/components/expression_language/syntax`. With this, the route
780780
won't match unless the HTTP method is either GET or HEAD *and* if the ``User-Agent``
781781
header matches ``firefox``.
782782

783-
You can do any complex logic you needhereby leveraging two variables that
784-
are passed into the expression:
783+
You can do any complex logic you needin the expressionby leveraging two
784+
variables thatare passed into the expression:
785785

786786
* ``context``: An instance of:class:`Symfony\\Component\\Routing\\RequestContext`,
787787
which holds the most fundamental information about the route being matched;
@@ -804,7 +804,7 @@ are passed into the expression:
804804
// ...
805805
}
806806

807-
Because of this, using the ``condition`` key causes no extraroverhead
807+
Because of this, using the ``condition`` key causes no extraoverhead
808808
beyond the time it takes for the underlying PHP to execute.
809809

810810
..index::

‎book/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ Inside the expression, you have access to a number of variables:
19811981
``isGranted`` ;
19821982
* ``token`` The token object;
19831983
* ``trust_resolver``: The:class:`Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolverInterface`,
1984-
object: probablynot useful directly.
1984+
object:you'llprobablyuse the ``is_*`` functions below instead.
19851985

19861986
Additionally, you have access to a number of functions inside the expression.
19871987
**Note**: some of these functions *look* similar to the ``IS_AUTHENTICATED_*``
@@ -2018,7 +2018,7 @@ attributes, but work differently. See the note below:
20182018
Here, ``$access1`` and ``$access2`` will be the same value. Unlike the
20192019
behavior of ``IS_AUTHENTICATED_REMEMBERED`` and ``IS_AUTHENTICATED_FULLY``,
20202020
the ``is_remember_me`` function *only* returns true if the user is authenticated
2021-
via a rememberme cookie and ``is_fully_authenticated`` *only* returns
2021+
via a remember-me cookie and ``is_fully_authenticated`` *only* returns
20222022
true if the user has actually logged in during this session (i.e. is
20232023
full-fledged).
20242024

‎cookbook/expression/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ ways:
2121
*:doc:`Validation</reference/constraints/Expression>`.
2222

2323
For more information about how to create and work with expressions, see
24-
:doc:`/components/expression_language/syntax`.
24+
:doc:`/components/expression_language/syntax`.

‎reference/constraints/Expression.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ expression that must return true in order for validation to pass. To learn
130130
more about the expression language syntax, see
131131
:doc:`/components/expression_language/syntax`.
132132

133-
For more information about the expression and what variablesyou have available
133+
For more information about the expression and what variablesare available
134134
to you, see the:ref:`expression<reference-constraint-expression-option>`
135135
option details below.
136136

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp