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

Commit1aa135c

Browse files
committed
Add some minor notes
1 parent6d856b8 commit1aa135c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎service_container/service_subscribers_locators.rst‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
295299
Defining 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp