8000 --- · symfony/symfony-docs@5dacff4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5dacff4

Browse files
committed
---
yaml --- r: 73451 b: refs/heads/5.x c: 3a8db36 h: refs/heads/5.x i: 73449: 6c3628e 73447: 3a49101
1 parent a966fb9 commit 5dacff4

File tree

94 files changed

+38
-1859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+38
-1859
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ refs/heads/3.3: 93587037fef6a2f40e0cbdea41754e1e76255fe6
9292
refs/heads/weaverryan-patch-1: a52aee3dceba3357dd59558677811a2ff86d1357
9393
refs/heads/4.0: e887a8b5e5d102235545837506f1d4e883f051a5
9494
refs/heads/4.1: 67f3845bc17a81379c609af1944099706e5b429e
95-
refs/heads/5.x: eba25d41284e89d09b198eb0ba00fdd81a503678
95+
refs/heads/5.x: 3a8db369baa06a95ab669bc8c3ecbb5dc8e8a344

trunk/_build/redirection_map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,3 +428,4 @@
428428
/profiler/storage /profiler
429429
/setup/composer /setup
430430
/security/security_checker /setup
431+
/setup/built_in_web_server /setup/symfony_server

trunk/bundles/configuration.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ The ``Configuration`` class to handle the sample configuration looks like::
197197
}
198198
}
199199

200-
.. deprecated:: 4.2
201-
202-
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
203-
204200
.. seealso::
205201

206202
The ``Configuration`` class can be much more complicated than shown here,

trunk/cache.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ Basic uses of the cache looks like this::
3030
Symfony supports the Cache Contracts, PSR-6/16 and Doctrine Cache interfaces.
3131
You can read more about these at the :doc:`component documentation </components/cache>`.
3232

33-
.. versionadded:: 4.2
34-
35-
The cache contracts were introduced in Symfony 4.2.
36-
3733
.. _cache-configuration-with-frameworkbundle:
3834

3935
Configuring Cache with FrameworkBundle
@@ -629,10 +625,6 @@ To see all available cache pools:
629625
630626
$ php bin/console cache:pool:list
631627
632-
.. versionadded:: 4.3
633-
634-
The ``cache:pool:list`` command was introduced in Symfony 4.3.
635-
636628
Clear one pool:
637629

638630
.. code-block:: terminal

trunk/components/cache/adapters/memcached_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ helper method allows creating and configuring a `Memcached`_ class instance usin
7070
'memcached:?host[localhost]&host[localhost:12345]&host[/some/memcached.sock:]=3'
7171
);
7272

73-
.. versionadded:: 4.2
74-
75-
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
76-
7773
The `Data Source Name (DSN)`_ for this adapter must use the following format:
7874

7975
.. code-block:: text

trunk/components/cache/adapters/redis_adapter.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ name of your service group::
102102
'redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&redis_sentinel=mymaster'
103103
);
104104

105-
.. versionadded:: 4.2
106-
107-
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
108-
109-
.. versionadded:: 4.4
110-
111-
Redis Sentinel support was introduced in Symfony 4.4.
112-
113105
.. note::
114106

115107
See the :class:`Symfony\\Component\\Cache\\Traits\\RedisTrait` for more options

trunk/components/cache/psr6_psr16_adapters.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ this use-case::
4646
// now use this wherever you want
4747
$githubApiClient = new GitHubApiClient($psr6Cache);
4848

49-
.. versionadded:: 4.3
50-
51-
The ``Psr16Adapter`` class was introduced in Symfony 4.3.
52-
5349
Using a PSR-6 Cache Object as a PSR-16 Cache
5450
--------------------------------------------
5551

@@ -87,8 +83,4 @@ this use-case::
8783
// now use this wherever you want
8884
$githubApiClient = new GitHubApiClient($psr16Cache);
8985

90-
.. versionadded:: 4.3
91-
92-
The ``Psr16Cache`` class was introduced in Symfony 4.3.
93-
9486
.. _`PSR-16`: http://www.php-fig.org/psr/psr-16/

trunk/components/config/definition.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ implements the :class:`Symfony\\Component\\Config\\Definition\\ConfigurationInte
6868
}
6969
}
7070

71-
.. deprecated:: 4.2
72-
73-
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
74-
7571
Adding Node Definitions to the Tree
7672
-----------------------------------
7773

trunk/components/console/helpers/progressbar.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ If ``$iterable = [1, 2]``, the previous code will output the following:
118118
1/2 [==============>-------------] 50%
119119
2/2 [============================] 100%
120120
121-
.. versionadded:: 4.3
122-
123-
The ``iterate()`` method was introduced in Symfony 4.3.
124-
125121
Customizing the Progress Bar
126122
----------------------------
127123

trunk/components/console/helpers/questionhelper.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ provide a callback function to dynamically generate suggestions::
212212
$filePath = $helper->ask($input, $output, $question);
213213
}
214214

215-
.. versionadded:: 4.3
216-
217-
The ``setAutocompleterCallback()`` method was introduced in Symfony 4.3.
218-
219215
Hiding the User's Response
220216
~~~~~~~~~~~~~~~~~~~~~~~~~~
221217

trunk/components/dom_crawler.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ tree.
7777
The DomCrawler component will use it automatically when the content has
7878
an HTML5 doctype.
7979

80-
.. versionadded:: 4.3
81-
82-
The automatic support of the html5-php library was introduced in Symfony 4.3.
83-
8480
Node Filtering
8581
~~~~~~~~~~~~~~
8682

@@ -216,10 +212,6 @@ Access the value of the first node of the current selection::
216212
// avoid the exception passing an argument that text() returns when node does not exist
217213
$message = $crawler->filterXPath('//body/p')->text('Default text content');
218214

219-
.. versionadded:: 4.3
220-
221-
The default argument of ``text()`` was introduced in Symfony 4.3.
222-
223215
Access the attribute value of the first node of the current selection::
224216

225217
$class = $crawler->filterXPath('//body/p')->attr('class');
@@ -236,10 +228,6 @@ Extract attribute and/or node values from the list of nodes::
236228
Special attribute ``_text`` represents a node value, while ``_name``
237229
represents the element name (the HTML tag name).
238230

239-
.. versionadded:: 4.3
240-
241-
The special attribute ``_name`` was introduced in Symfony 4.3.
242-
243231
Call an anonymous function on each node of the list::
244232

245233
use Symfony\Component\DomCrawler\Crawler;
@@ -333,10 +321,6 @@ and :phpclass:`DOMNode` objects::
333321
// avoid the exception passing an argument that html() returns when node does not exist
334322
$html = $crawler->html('Default <strong>HTML</strong> content');
335323

336-
.. versionadded:: 4.3
337-
338-
The default argument of ``html()`` was introduced in Symfony 4.3.
339-
340324
Expression Evaluation
341325
~~~~~~~~~~~~~~~~~~~~~
342326

trunk/components/dotenv.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ You can adjust the variable defining the environment, default environment and te
104104
environments by passing them as additional arguments to ``Dotenv::loadEnv()``
105105
(see :method:`Symfony\\Component\\Dotenv\\Dotenv::loadEnv` for details).
106106

107-
.. versionadded:: 4.2
108-
109-
The ``Dotenv::loadEnv()`` method was introduced in Symfony 4.2.
110-
111107
You should never store a ``.env`` file in your code repository as it might
112108
contain sensitive information; create a ``.env.dist`` file (or multiple
113109
environment-specific ones as shown above) with sensible defaults instead.

trunk/components/finder.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ rules to exclude files and directories from the results with the
150150
// excludes files/directories matching the .gitignore patterns
151151
$finder->ignoreVCSIgnored(true);
152152

153-
.. versionadded:: 4.3
154-
155-
The ``ignoreVCSIgnored()`` method was introduced in Symfony 4.3.
156-
157153
File Name
158154
~~~~~~~~~
159155

@@ -250,11 +246,6 @@ Multiple paths can be excluded by chaining calls or passing an array::
250246
// same as above
251247
$finder->notPath(['first/dir', 'other/dir']);
252248

253-
.. versionadded:: 4.2
254-
255-
Support for passing arrays to ``notPath()`` was introduced in Symfony
256-
4.2
257-
258249
File Size
259250
~~~~~~~~~
260251

trunk/components/http_client.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ The HttpClient Component
99
PHP stream wrappers and cURL. It provides utilities to consume APIs and
1010
supports synchronous and asynchronous operations.
1111

12-
.. versionadded:: 4.3
13-
14-
The HttpClient component was introduced in Symfony 4.3.
15-
1612
Installation
1713
------------
1814

trunk/components/intl.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ to catching the exception, you can also check if a given language code is valid:
9494

9595
$isValidLanguage = Languages::exists($languageCode);
9696

97-
.. versionadded:: 4.3
98-
99-
The ``Languages`` class was introduced in Symfony 4.3.
100-
10197
The ``Scripts`` class provides access to the optional four-letter script code
10298
that can follow the language code according to the `Unicode ISO 15924 Registry`_
10399
(e.g. ``HANS`` in ``zh_HANS`` for simplified Chinese and ``HANT`` in ``zh_HANT``
@@ -129,10 +125,6 @@ to catching the exception, you can also check if a given script code is valid::
129125

130126
$isValidScript = Scripts::exists($scriptCode);
131127

132-
.. versionadded:: 4.3
133-
134-
The ``Scripts`` class was introduced in Symfony 4.3.
135-
136128
Country Names
137129
~~~~~~~~~~~~~
138130

@@ -166,10 +158,6 @@ to catching the exception, you can also check if a given country code is valid::
166158

167159
$isValidCountry = Countries::exists($countryCode);
168160

169-
.. versionadded:: 4.3
170-
171-
The ``Countries`` class was introduced in Symfony 4.3.
172-
173161
Locales
174162
~~~~~~~
175163

@@ -204,10 +192,6 @@ to catching the exception, you can also check if a given locale code is valid::
204192

205193
$isValidLocale = Locales::exists($localeCode);
206194

207-
.. versionadded:: 4.3
208-
209-
The ``Locales`` class was introduced in Symfony 4.3.
210-
211195
Currencies
212196
~~~~~~~~~~
213197

@@ -250,10 +234,6 @@ to catching the exception, you can also check if a given currency code is valid:
250234

251235
$isValidCurrency = Currencies::exists($currencyCode);
252236

253-
.. versionadded:: 4.3
254-
255-
The ``Currencies`` class was introduced in Symfony 4.3.
256-
257237
Timezones
258238
~~~~~~~~~
259239

@@ -330,10 +310,6 @@ to catching the exception, you can also check if a given timezone ID is valid::
330310

331311
$isValidTimezone = Timezones::exists($timezoneId);
332312

333-
.. versionadded:: 4.3
334-
335-
The ``Timezones`` class was introduced in Symfony 4.3.
336-
337313
Learn more
338314
----------
339315

trunk/components/mailer.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ The Mailer Component
77

88
The Mailer component helps sending emails.
99

10-
.. versionadded:: 4.3
11-
12-
The Mailer component was introduced in Symfony 4.3.
13-
1410
Installation
1511
------------
1612

trunk/components/messenger.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,9 @@ middleware stack. The component comes with a set of middleware that you can use.
7575
When using the message bus with Symfony's FrameworkBundle, the following middleware
7676
are configured for you:
7777

78-
#. :class:`Symfony\\Component\\Messenger\\Middleware\\LoggingMiddleware` (logs the processing of your messages)
79-
#. :class:`Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware` (enables asynchronous processing)
78+
#. :class:`Symfony\\Component\\Messenger\\Middleware\\SendMessageMiddleware` (enables asynchronous processing, logs the processing of your messages if you pass a logger)
8079
#. :class:`Symfony\\Component\\Messenger\\Middleware\\HandleMessageMiddleware` (calls the registered handler(s))
8180

82-
.. deprecated:: 4.3
83-
84-
The ``LoggingMiddleware`` is deprecated since Symfony 4.3 and will be
85-
removed in 5.0. Pass a logger to ``SendMessageMiddleware`` instead.
86-
8781
Example::
8882

8983
use App\Message\MyMessage;

trunk/components/mime.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ The Mime Component
99
The Mime component allows manipulating the MIME messages used to send emails
1010
and provides utilities related to MIME types.
1111

12-
.. versionadded:: 4.3
13-
14-
The Mime component was introduced in Symfony 4.3.
15-
1612
Installation
1713
------------
1814

trunk/components/options_resolver.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,6 @@ This way, the ``$value`` argument will receive the previously normalized
440440
value, otherwise you can prepend the new normalizer by passing ``true`` as
441441
third argument.
442442

443-
.. versionadded:: 4.3
444-
445-
The ``addNormalizer()`` method was introduced in Symfony 4.3.
446-
447443
Default Values that Depend on another Option
448444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
449445

trunk/components/phpunit_bridge.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ class autoloading time. This can be disabled with the ``debug-class-loader`` opt
299299
</listener>
300300
</listeners>
301301
302-
.. versionadded:: 4.2
303-
304-
The ``DebugClassLoader`` integration was introduced in Symfony 4.2.
305-
306302
Write Assertions about Deprecations
307303
-----------------------------------
308304

trunk/components/property_access.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,6 @@ This will produce: ``He is an author``
169169
Accessing a non Existing Property Path
170170
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
171171

172-
.. versionadded:: 4.3
173-
174-
The ``disableExceptionOnInvalidPropertyPath()`` method was introduced in
175-
Symfony 4.3.
176-
177172
By default a :class:`Symfony\\Component\\PropertyAccess\\Exception\\NoSuchPropertyException`
178173
is thrown if the property path passed to :method:`PropertyAccessor::getValue<Symfony\\Component\\PropertyAccess\\PropertyAccessor::getValue>`
179174
does not exist. You can change this behavior using the

trunk/components/routing.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,6 @@ routes with UTF-8 characters:
454454
;
455455
};
456456
457-
.. versionadded:: 4.3
458-
459-
The ``utf8`` option/method has been introduced in Symfony 4.3.
460-
Before you had to use the ``options`` setting to define this value (for
461-
example, when using annotations: ``options={"utf8": true}``).
462-
463457
In this route, the ``utf8`` option set to ``true`` makes Symfony consider the
464458
``.`` requirement to match any UTF-8 characters instead of just a single
465459
byte character. This means that so the following URLs would match:

trunk/components/security/authentication.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,6 @@ the ``switch_user`` firewall listener.
318318
The ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent`` event is triggered when a token has been deauthenticated
319319
because of a user change, it can help you doing some clean-up task when a logout has been triggered.
320320

321-
.. versionadded:: 4.3
322-
323-
The ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent`` event was introduced in Symfony 4.3.
324-
325321
.. seealso::
326322

327323
For more information on switching users, see

0 commit comments

Comments
 (0)
0