EC-CUBE / EC-CUBE/ec-cube

AttributeによるAutowireが効かない?

Open
#6,001 4 comments 0 reactions 0 assignees View on GitHub
Status: needs-review
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

### 概要(Overview)

https://symfony.com/doc/5.4/service_container/autowiring.html#dealing-with-multiple-implementations-of-the-same-type

~~#6000 の解消のために`mailer.message_logger_listener`を利用したかったのですがクラウド版であるため`app/config`以下は変更不可。~~
AttributeによるAutowireの方法がSymfonyのドキュメントに記載されていたため試しましたが、効いていないようでした。

![範囲を選択_288](https://github.com/EC-CUBE/ec-cube/assets/1329505/52373e2e-47dd-4133-8722-b4ef3943873a)

### 期待する内容(Expect) or 要望(Requirement)

AttributeでAutowireが指定できる

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.