@@ -187,16 +187,6 @@ Configuration
187
187
* `storage_id `_
188
188
* `use_cookies `_
189
189
190
- * `templating `_
191
-
192
- * :ref: `cache <reference-templating-cache >`
193
- * `engines `_
194
- * :ref: `form <reference-templating-form >`
195
-
196
- * `resources `_
197
-
198
- * `loaders `_
199
-
200
190
* `test `_
201
191
* `translator `_
202
192
@@ -224,7 +214,6 @@ Configuration
224
214
* `endpoint `_
225
215
226
216
* `static_method `_
227
- * `strict_email `_
228
217
* `translation_domain `_
229
218
230
219
* `workflows `_
@@ -1847,119 +1836,6 @@ package:
1847
1836
If you request an asset that is *not found * in the ``manifest.json `` file, the original -
1848
1837
*unmodified * - asset path will be returned.
1849
1838
1850
- templating
1851
- ~~~~~~~~~~
1852
-
1853
- .. _reference-templating-form :
1854
-
1855
- form
1856
- ....
1857
-
1858
- resources
1859
- """""""""
1860
-
1861
- **type **: ``string[] `` **default **: ``['FrameworkBundle:Form'] ``
1862
-
1863
- .. deprecated :: 4.3
1864
-
1865
- The integration of the Templating component in FrameworkBundle has been
1866
- deprecated since version 4.3 and will be removed in 5.0. Form theming with
1867
- PHP templates will no longer be supported and you'll need to use Twig instead.
1868
-
1869
- A list of all resources for form theming in PHP. This setting is not required
1870
- if you're :ref: `using the Twig format for your themes <forms-theming-twig >`.
1871
-
1872
- Assume you have custom global form themes in ``templates/form_themes/ ``, you can
1873
- configure this like:
1874
-
1875
- .. configuration-block ::
1876
-
1877
- .. code-block :: yaml
1878
-
1879
- # config/packages/framework.yaml
1880
- framework :
1881
- templating :
1882
- form :
1883
- resources :
1884
- - ' form_themes'
1885
-
1886
- .. code-block :: xml
1887
-
1888
- <!-- config/packages/framework.xml -->
1889
- <?xml version =" 1.0" encoding =" UTF-8" ?>
1890
- <container xmlns =" http://symfony.com/schema/dic/services"
1891
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1892
- xmlns : framework =" http://symfony.com/schema/dic/symfony"
1893
- xsi : schemaLocation =" http://symfony.com/schema/dic/services
1894
- https://symfony.com/schema/dic/services/services-1.0.xsd
1895
- http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
1896
-
1897
- <framework : config >
1898
- <framework : templating >
1899
- <framework : form >
1900
- <framework : resource >form_themes</framework : resource >
1901
- </framework : form >
1902
- </framework : templating >
1903
- </framework : config >
1904
- </container >
1905
-
1906
- .. code-block :: php
1907
-
1908
- // config/packages/framework.php
1909
- $container->loadFromExtension('framework', [
1910
- 'templating' => [
1911
- 'form' => [
1912
- 'resources' => [
1913
- 'form_themes',
1914
- ],
1915
- ],
1916
- ],
1917
- ]);
1918
-
1919
- .. note ::
1920
-
1921
- The default form templates from ``FrameworkBundle:Form `` will always
1922
- be included in the form resources.
1923
-
1924
- .. seealso ::
1925
-
1926
- See :ref: `forms-theming-global ` for more information.
1927
-
1928
- .. _reference-templating-cache :
1929
-
1930
- cache
1931
- .....
1932
-
1933
- **type **: ``string ``
1934
-
1935
- The path to the cache directory for templates. When this is not set, caching
1936
- is disabled.
1937
-
1938
- .. note ::
1939
-
1940
- When using Twig templating, the caching is already handled by the
1941
- TwigBundle and doesn't need to be enabled for the FrameworkBundle.
1942
-
1943
- engines
1944
- .......
1945
-
1946
- **type **: ``string[] `` / ``string `` **required **
1947
-
1948
- The Templating Engine to use. This can either be a string (when only one
1949
- engine is configured) or an array of engines.
1950
-
1951
- At least one engine is required.
1952
-
1953
- loaders
1954
- .......
1955
-
1956
- **type **: ``string[] ``
1957
-
1958
- An array (or a string when configuring just one loader) of service ids for
1959
- templating loaders. Templating loaders are used to find and load templates
1960
- from a resource (e.g. a filesystem or database). Templating loaders must
1961
- implement :class: `Symfony\\ Component\\ Templating\\ Loader\\ LoaderInterface `.
1962
-
1963
1839
translator
1964
1840
~~~~~~~~~~
1965
1841
@@ -2155,20 +2031,6 @@ metadata of the class. You can define an array of strings with the names of
2155
2031
several methods. In that case, all of them will be called in that order to load
2156
2032
the metadata.
2157
2033
2158
- strict_email
2159
- ............
2160
-
2161
- **type **: ``Boolean `` **default **: ``false ``
2162
-
2163
- .. deprecated :: 4.1
2164
-
2165
- The ``strict_email `` option was deprecated in Symfony 4.1. Use the new
2166
- ``email_validation_mode `` option instead.
2167
-
2168
- If this option is enabled, the `egulias/email-validator `_ library will be
2169
- used by the :doc: `/reference/constraints/Email ` constraint validator. Otherwise,
2170
- the validator uses a simple regular expression to validate email addresses.
2171
-
2172
2034
email_validation_mode
2173
2035
.....................
2174
2036
0 commit comments