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
292292 ];
293293 }
294294
295+ .. note ::
296+
297+ The above example requires using ``3.2 `` version or newer of ``symfony/service-contracts ``.
298+
295299Defining a Service Locator
296300--------------------------
297301
@@ -770,8 +774,8 @@ and compose your services with them::
770774 as this will include the trait name, not the class name. Instead, use
771775 ``__CLASS__.'::'.__FUNCTION__ `` as the service id.
772776
773- SubscribedService Attributes
774- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
777+ `` SubscribedService `` Attributes
778+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
775779
776780.. versionadded :: 6.2
777781
@@ -829,4 +833,8 @@ Here's an example::
829833 }
830834 }
831835
836+ .. note ::
837+
838+ The above example requires using ``3.2 `` version or newer of ``symfony/service-contracts ``.
839+
832840.. _`Command pattern` : https://en.wikipedia.org/wiki/Command_pattern
You can’t perform that action at this time.
0 commit comments