Skip to content

Commit c225f59

Browse files
committed
Removed 4.x version added directives
1 parent b3b825a commit c225f59

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

service_container/calls.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ To configure the container to call the ``setLogger`` method, use the ``calls`` k
7878
};
7979
8080
81-
.. versionadded:: 4.3
82-
83-
The ``immutable-setter`` injection was introduced in Symfony 4.3.
84-
8581
To provide immutable services, some classes implement immutable setters.
8682
Such setters return a new instance of the configured class
8783
instead of mutating the object they were called on::

service_container/injection_types.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ then extending it and overriding the constructor becomes problematic.
108108
Immutable-setter Injection
109109
--------------------------
110110

111-
.. versionadded:: 4.3
112-
113-
The ``immutable-setter`` injection was introduced in Symfony 4.3.
114-
115111
Another possible injection is to use a method which returns a separate instance
116112
by cloning the original service, this approach allows you to make a service immutable::
117113

0 commit comments

Comments
 (0)