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

Commit92b13e2

Browse files
authored
Update service_container/service_subscribers_locators.rst
1 parentc6f6e71 commit92b13e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎service_container/service_subscribers_locators.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ attribute::
360360
public function __construct(
361361
#[AutowireLocator([
362362
'foo' => FooHandler::class,
363-
'bar' => new SubscribedService(type:BarHandler::class, attributes: new Autowire('%some.parameter%'),
363+
'bar' => new SubscribedService(type:'string', attributes: new Autowire('%some.parameter%'),
364364
'optionalBaz' => '?'.BazHandler::class,
365365
)]
366366
private ContainerInterface $handlers,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp