File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
components/expression_language Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -308,3 +308,14 @@ Ternary Operators
308
308
* ``foo ? 'yes' : 'no' ``
309
309
* ``foo ?: 'no' `` (equal to ``foo ? foo : 'no' ``)
310
310
* ``foo ? 'yes' `` (equal to ``foo ? 'yes' : '' ``)
311
+
312
+ Built-in Objects and Variables
313
+ ------------------------------
314
+
315
+ When using this component inside a Symfony application, certain objects and
316
+ variables are automatically injected by Symfony so you can use them in your
317
+ expressions (e.g. the request, the current user, etc.):
318
+
319
+ * :doc: `Variables available in security expressions </security/expressions >`;
320
+ * :doc: `Variables available in service container expressions </service_container/expression_language >`;
321
+ * :doc: `Variables available in routing expressions </routing/conditions >`.
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ MySQL
218
218
`sess_id` VARCHAR(128) NOT NULL PRIMARY KEY,
219
219
`sess_data` BLOB NOT NULL,
220
220
`sess_time` INTEGER UNSIGNED NOT NULL,
221
- `sess_lifetime` MEDIUMINT NOT NULL
221
+ `sess_lifetime` INTEGER UNSIGNED NOT NULL
222
222
) COLLATE utf8mb4_bin, ENGINE = InnoDB;
223
223
224
224
.. note ::
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ following information:
23
23
:method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequest `
24
24
Returns the current ``Request `` being handled.
25
25
26
+ :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::isMasterRequest `
27
+ Checks if this is a master request.
28
+
26
29
.. _kernel-core-request :
27
30
28
31
``kernel.request ``
You can’t perform that action at this time.
0 commit comments