Magento2 mock classes for removed core modules
How to physically remove unneeded Magento2 core modules (even those with dependencies) via composer.json with the help of this module providing mock classes.
How to physically remove unneeded Magento2 core modules (even those with dependencies) via composer.json with the help of this module providing mock classes.
Poking around in Magento2 I stumbled upon Magento\Framework\ObjectManager\DefinitionFactory
which takes care of how the cached DI (Dependency Injections) definitions are loaded. I’ve created a Pull Request but never submitted it.