Skip to content

Commit 8e17418

Browse files
committed
minor #21222 [FrameworkBundle] [TwigBundle] Remove options session.sid_length session.sid_bits_per_character router.cache_dir validation.cache and base_template_class (alamirault)
This PR was merged into the 8.0 branch. Discussion ---------- [FrameworkBundle] [TwigBundle] Remove options session.sid_length session.sid_bits_per_character router.cache_dir validation.cache and base_template_class Fix #21218 Commits ------- 3f8c07a [FrameworkBundle][TwigBundle] Remove options session.sid_length session.sid_bits_per_character router.cache_dir validation.cache and base_template_class
2 parents 863ca1a + 3f8c07a commit 8e17418

File tree

2 files changed

+0
-65
lines changed

2 files changed

+0
-65
lines changed

reference/configuration/framework.rst

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -19,44 +19,6 @@ configured under the ``framework`` key in your application configuration.
1919
namespace and the related XSD schema is available at:
2020
``https://symfony.com/schema/dic/symfony/symfony-1.0.xsd``
2121

22-
annotations
23-
~~~~~~~~~~~
24-
25-
.. _reference-annotations-cache:
26-
27-
cache
28-
.....
29-
30-
**type**: ``string`` **default**: ``php_array``
31-
32-
This option can be one of the following values:
33-
34-
php_array
35-
Use a PHP array to cache annotations in memory
36-
file
37-
Use the filesystem to cache annotations
38-
none
39-
Disable the caching of annotations
40-
41-
debug
42-
.....
43-
44-
**type**: ``boolean`` **default**: ``%kernel.debug%``
45-
46-
Whether to enable debug mode for caching. If enabled, the cache will
47-
automatically update when the original file is changed (both with code and
48-
annotation changes). For performance reasons, it is recommended to disable
49-
debug mode in production, which will happen automatically if you use the
50-
default value.
51-
52-
file_cache_dir
53-
..............
54-
55-
**type**: ``string`` **default**: ``%kernel.cache_dir%/annotations``
56-
57-
The directory to store cache files for annotations, in case
58-
``annotations.cache`` is set to ``'file'``.
59-
6022
.. _reference-assets:
6123

6224
assets
@@ -2604,19 +2566,6 @@ To configure a ``jsonp`` format:
26042566
router
26052567
~~~~~~
26062568

2607-
cache_dir
2608-
.........
2609-
2610-
**type**: ``string`` **default**: ``%kernel.cache_dir%``
2611-
2612-
The directory where routing information will be cached. Can be set to
2613-
``~`` (``null``) to disable route caching.
2614-
2615-
.. deprecated:: 7.1
2616-
2617-
Setting the ``cache_dir`` option is deprecated since Symfony 7.1. The routes
2618-
are now always cached in the ``%kernel.build_dir%`` directory.
2619-
26202569
default_uri
26212570
...........
26222571

reference/configuration/twig.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,6 @@ called to determine the default escaping applied to the template.
5454
If the service defined in ``autoescape_service`` is invocable (i.e. it defines
5555
the `__invoke() PHP magic method`_) you can omit this option.
5656

57-
base_template_class
58-
~~~~~~~~~~~~~~~~~~~
59-
60-
**type**: ``string`` **default**: ``Twig\Template``
61-
62-
.. deprecated:: 7.1
63-
64-
The ``base_template_class`` option is deprecated since Symfony 7.1.
65-
66-
Twig templates are compiled into PHP classes before using them to render
67-
contents. This option defines the base class from which all the template classes
68-
extend. Using a custom base template is discouraged because it will make your
69-
application harder to maintain.
70-
7157
cache
7258
~~~~~
7359

0 commit comments

Comments
 (0)