You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@robbieaverill Well, I might imagine what you want to say, but if so from that standpoint I would tend to add as well that class rewriting should have been used as much as last resort (and by default: not at all) as much as using interceptors in Magento 2 :).
I'm not yet profound with Magento 2 class rewrites so I can't say if it actually exists as it did in Magento 1. However Magento 2 does have class aliasing within the DI layer and that might come more close to what was the class rewrite in Magento 1. I'd say it's not that bad to have some commands related to that in the magerun2 toolchest. Perhaps dev:class:lookup is a well suited command name for such a functionality.
Good point. Preference is still relevant for this command especially with
controllers, and the odd rewrite that persists or is needed for a
particular reason.
Resolves a grouped class name
The text was updated successfully, but these errors were encountered: