Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

抽象化レイヤー: Doctrine/Persistence #21

Open
kiy0taka opened this issue Apr 25, 2023 · 0 comments · May be fixed by #12
Open

抽象化レイヤー: Doctrine/Persistence #21

kiy0taka opened this issue Apr 25, 2023 · 0 comments · May be fixed by #12
Assignees

Comments

@kiy0taka
Copy link
Contributor

Doctrine\Persistence\ManagerRegistry

ManagerRegistoryへの依存をAbstractRepositoryへ移動する
https://github.com/EC-CUBE/next-poc/pull/12/files

コンストラクタインジェクションをしているRepositoryはセッターインジェクションへ変更する
https://github.com/EC-CUBE/next-poc/blob/main/src/application/Eccube/Repository/BlockRepository.php#L41

Doctrine\Persistence\Mapping\MappingException

マスタデータ管理で利用。
https://github.com/EC-CUBE/next-poc/blob/main/src/application/Eccube/Controller/Admin/Setting/System/MasterdataController.php#L73-L88

EntityManagerのアダプターへ切り出し、例外を変換する #10

Doctrine\Persistence\ObjectManager

applicationでの利用箇所なし。対応不要。

@kiy0taka kiy0taka linked a pull request Apr 25, 2023 that will close this issue
15 tasks
@chihiro-adachi chihiro-adachi mentioned this issue Jun 27, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants