문제

How many ways to do dependency injection?

Object Manager,Constructor injection and Method injection Is that it ?

도움이 되었습니까?

해결책

Yes, I believe so. As per the official blog of Magento 2 - If you find more please let me know

Link: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top