Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd038da7

Browse files
committed
Removed versionadded directives for Symfony 3 features
1 parentb6a6897 commitd038da7

File tree

9 files changed

+0
-39
lines changed

9 files changed

+0
-39
lines changed

‎components/cache/adapters/memcached_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ helper method allows creating and configuring a `Memcached`_ class instance usin
6464
// etc...
6565
));
6666

67-
..versionadded::3.4
68-
The feature to pass configuration options in the memcached DSN was
69-
introduced in Symfony 3.4.
70-
7167
The `Data Source Name (DSN)`_ for this adapter must use the following format:
7268

7369
..code-block::text

‎components/options_resolver.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ You may also pass fully qualified class or interface names (which is checked
335335
using ``instanceof``). Additionally, you can validate all items in an array
336336
recursively by suffixing the type with ``[]``.
337337

338-
..versionadded::3.4
339-
Validating types of array items recursively was introduced in Symfony 3.4.
340-
Prior to Symfony 3.4, only scalar values could be validated.
341-
342338
If you pass an invalid option now, an
343339
:class:`Symfony\\Component\\OptionsResolver\\Exception\\InvalidOptionsException`
344340
is thrown::

‎components/serializer.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,6 @@ There are several types of normalizers available:
572572

573573
Objects are normalized to a map of property names to property values.
574574

575-
..versionadded::3.4
576-
The ability to handle parent classes for ``PropertyNormalizer`` was
577-
introduced in Symfony 3.4.
578-
579575
:class:`Symfony\\Component\\Serializer\\Normalizer\\JsonSerializableNormalizer`
580576
This normalizer works with classes that implement:phpclass:`JsonSerializable`.
581577

@@ -602,9 +598,6 @@ There are several types of normalizers available:
602598
This normalizer converts:phpclass:`DateInterval` objects into strings.
603599
By default it uses the ``P%yY%mM%dDT%hH%iM%sS`` format.
604600

605-
..versionadded::3.4
606-
The ``DateIntervalNormalizer`` normalizer was added in Symfony 3.4.
607-
608601
.. _component-serializer-encoders:
609602

610603
Encoders

‎components/var_dumper/advanced.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ you can configure these limits:
5959
items. Specifying ``-1`` removes the limit.
6060

6161
:method:`Symfony\\Component\\VarDumper\\Cloner\\VarCloner::setMinDepth`
62-
..versionadded::3.4
63-
The ``setMinDepth()`` method was introduced in Symfony 3.4.
64-
6562
Configures the minimum tree depth where we are guaranteed to clone
6663
all the items. After this depth is reached, only ``setMaxItems``
6764
items will be cloned. The default value is ``1``, which is consistent

‎components/yaml.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ representation of the object.
263263
Parsing and Dumping Objects as Maps
264264
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265265

266-
..versionadded::3.2
267-
Support for parsing and dumping objects as maps was introduced in Symfony 3.2.
268-
269266
You can dump objects as Yaml maps by using the ``DUMP_OBJECT_AS_MAP`` flag::
270267

271268
$object = new \stdClass();
@@ -353,9 +350,6 @@ syntax to parse them as proper PHP constants::
353350
Parsing and Dumping of Binary Data
354351
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
355352

356-
..versionadded::3.2
357-
Support for parsing and dumping binary data was introduced in Symfony 3.2.
358-
359353
You can dump binary data by using the ``DUMP_BASE64_BINARY_DATA`` flag::
360354

361355
$imageContents = file_get_contents(__DIR__.'/images/logo.png');

‎controller.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,6 @@ To get the session, add an argument and type-hint it with
404404
$filters = $session->get('filters', array());
405405
}
406406

407-
..versionadded::3.3
408-
The ability to request a ``Session`` instance in controllers was introduced
409-
in Symfony 3.3.
410-
411407
Stored attributes remain in the session for the remainder of that user's session.
412408

413409
..tip::

‎routing/external_resources.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@ be prefixed with the string ``/site``.
136136
Prefixing the Names of Imported Routes
137137
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138138

139-
..versionadded::3.4
140-
The feature to prefix route names was introduced in Symfony 3.4.
141-
142139
You also have the possibility to prefix all route names defined in a controller
143140
class with the ``name`` attribute of the ``@Route`` annotation::
144141

‎security/form_login.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,3 @@ remove this variable, it's better to use the
448448

449449
// equivalent to:
450450
// $targetPath = $request->getSession()->get('_security.'.$providerKey.'.target_path');
451-
452-
..versionadded::3.1
453-
The ``TargetPathTrait`` was introduced in Symfony 3.1.

‎serializer.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ properties and setters (``setXxx()``) to change properties:
114114
->addTag('serializer.normalizer')
115115
;
116116
117-
..versionadded::3.4
118-
Support for hasser methods (``hasXxx()``) in ``GetSetMethodNormalizer`` was
119-
introduced in Symfony 3.4. In previous Symfony versions only getters (``getXxx()``)
120-
and issers (``isXxx()``) were supported.
121-
122117
.. _serializer-using-serialization-groups-annotations:
123118

124119
Using Serialization Groups Annotations

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp