Skip to content

Commit 078d6f9

Browse files
committed
Added the versionadded directive
1 parent 9892599 commit 078d6f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,11 @@ services based on type-hinted helper methods::
899899
}
900900
}
901901

902+
.. versionadded:: 7.1
903+
904+
The ``ServiceMethodsSubscriberTrait`` was introduced in Symfony 7.1.
905+
In previous Symfony versions it was called ``ServiceSubscriberTrait``.
906+
902907
This allows you to create helper traits like RouterAware, LoggerAware, etc...
903908
and compose your services with them::
904909

0 commit comments

Comments
 (0)