File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 538
538
/components/security /security
539
539
/components/var_dumper/advanced /components/var_dumper#advanced-usage
540
540
/components/yaml/yaml_format /reference/formats/yaml
541
- /components/expression_language/syntax /components/ expression_language#expression-language-syntax
541
+ /components/expression_language/syntax /reference/formats/ expression_language
542
542
/components/expression_language/extending /components/expression_language#expression-language-extending
543
543
/notifier/chatters /notifier#sending-chat-messages
544
544
/notifier/texters /notifier#sending-sms
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ One way to accomplish this is with the Expression constraint:
140
140
141
141
The :ref: `expression <reference-constraint-expression-option >` option is the
142
142
expression that must return true in order for validation to pass. Learn more
143
- about the :ref : `expression language syntax <expression-language-syntax >`.
143
+ about the :doc : `expression language syntax </reference/formats/ expression-language >`.
144
144
145
145
.. sidebar :: Mapping the Error to a Specific Field
146
146
@@ -262,7 +262,7 @@ Options
262
262
263
263
The expression that will be evaluated. If the expression evaluates to a false
264
264
value (using ``== ``, not ``=== ``), validation will fail. Learn more about the
265
- :ref : `expression language syntax <expression-language-syntax >`.
265
+ :doc : `expression language syntax </reference/formats/ expression-language >`.
266
266
267
267
Depending on how you use the constraint, you have access to different variables
268
268
in your expression:
Original file line number Diff line number Diff line change @@ -415,8 +415,8 @@ arbitrary matching logic:
415
415
};
416
416
417
417
The value of the ``condition `` option is an expression using any valid
418
- :ref : `expression language syntax <expression-language-syntax >` and can use any
419
- of these variables created by Symfony:
418
+ :doc : `expression language syntax </reference/formats/ expression-language >` and
419
+ can use any of these variables created by Symfony:
420
420
421
421
``context ``
422
422
An instance of :class: `Symfony\\ Component\\ Routing\\ RequestContext `,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ that method is invented for this example).
38
38
39
39
.. _security-expression-variables :
40
40
41
- The security expression must use any valid :ref : `expression language syntax <expression-language-syntax >`
41
+ The security expression must use any valid :doc : `expression language syntax </reference/formats/ expression-language >`
42
42
and can use any of these variables created by Symfony:
43
43
44
44
``user ``
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ to another service: ``App\Mailer``. One way to do this is with an expression:
71
71
->args([expr("service('App\\\\Mail\\\\MailerConfiguration').getMailerMethod()")]);
72
72
};
73
73
74
- Learn more about the :ref : `expression language syntax <expression-language-syntax >`.
74
+ Learn more about the :doc : `expression language syntax </reference/formats/ expression-language >`.
75
75
76
76
In this context, you have access to 2 functions:
77
77
You can’t perform that action at this time.
0 commit comments