@@ -187,16 +187,6 @@ Configuration
187187 * `storage_id `_
188188 * `use_cookies `_
189189
190- * `templating `_
191-
192- * :ref: `cache <reference-templating-cache >`
193- * `engines `_
194- * :ref: `form <reference-templating-form >`
195-
196- * `resources `_
197-
198- * `loaders `_
199-
200190* `test `_
201191* `translator `_
202192
@@ -224,7 +214,6 @@ Configuration
224214 * `endpoint `_
225215
226216 * `static_method `_
227- * `strict_email `_
228217 * `translation_domain `_
229218
230219* `workflows `_
@@ -1847,119 +1836,6 @@ package:
18471836 If you request an asset that is *not found * in the ``manifest.json `` file, the original -
18481837 *unmodified * - asset path will be returned.
18491838
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-
19631839translator
19641840~~~~~~~~~~
19651841
@@ -2155,20 +2031,6 @@ metadata of the class. You can define an array of strings with the names of
21552031several methods. In that case, all of them will be called in that order to load
21562032the metadata.
21572033
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-
21722034email_validation_mode
21732035.....................
21742036
0 commit comments