質問

I have created a Plugin. Registered it in di.xml All public methods execute.

Can I inject/rewrite/replace (don't know the proper title) protected methods? How?

役に立ちましたか?

解決

No you cant, and you should not normally. But you can extend the Class and use the di.xml to get your class injected instead of the original one.

ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top