File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,10 @@ This is done by having ``getSubscribedServices()`` return an array of
292
292
];
293
293
}
294
294
295
+ .. note ::
296
+
297
+ The above example requires using ``3.2 `` version or newer of ``symfony/service-contracts ``.
298
+
295
299
Defining a Service Locator
296
300
--------------------------
297
301
@@ -770,8 +774,8 @@ and compose your services with them::
770
774
as this will include the trait name, not the class name. Instead, use
771
775
``__CLASS__.'::'.__FUNCTION__ `` as the service id.
772
776
773
- SubscribedService Attributes
774
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
777
+ `` SubscribedService `` Attributes
778
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
775
779
776
780
.. versionadded :: 6.2
777
781
@@ -829,4 +833,8 @@ Here's an example::
829
833
}
830
834
}
831
835
836
+ .. note ::
837
+
838
+ The above example requires using ``3.2 `` version or newer of ``symfony/service-contracts ``.
839
+
832
840
.. _`Command pattern` : https://en.wikipedia.org/wiki/Command_pattern
You can’t perform that action at this time.
0 commit comments