New Free Magento 2 Dependency Injection Reference

1 · Alan Storm · Nov. 9, 2020, 1:58 p.m.
One common request over on my patreon slack is helping folks reason about some piece of functionality as-implemented in the Magento 2 core. This usually means looking for a particular dependency on a class, and then looking for that class’s dependency, and following this dependency chain back until we find the actual five lines of code we’re interested in. Magento’s automatic constructor dependency injection means you can never be sure what dependencies the system is actually injecting, so these...