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
308308* ``foo ? 'yes' : 'no' ``
309309* ``foo ?: 'no' `` (equal to ``foo ? foo : 'no' ``)
310310* ``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
218218 `sess_id` VARCHAR(128) NOT NULL PRIMARY KEY,
219219 `sess_data` BLOB NOT NULL,
220220 `sess_time` INTEGER UNSIGNED NOT NULL,
221- `sess_lifetime` MEDIUMINT NOT NULL
221+ `sess_lifetime` INTEGER UNSIGNED NOT NULL
222222 ) COLLATE utf8mb4_bin, ENGINE = InnoDB;
223223
224224 .. note ::
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ following information:
2323:method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequest `
2424 Returns the current ``Request `` being handled.
2525
26+ :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::isMasterRequest `
27+ Checks if this is a master request.
28+
2629.. _kernel-core-request :
2730
2831``kernel.request ``
You can’t perform that action at this time.
0 commit comments