3:37

Mark Shust walks through Magento's dev:di:info command to inspect dependency injection configuration. The tool reveals active preferences, constructor parameters, and plugins attached to any class or interface, helping you debug DI behavior without digging through XML files.

Questions this video answers

bin/magento dev:di:info <Fully\Qualified\ClassOrInterfaceName> (pass the class/interface as a quoted string).

The active preference (concrete class), all constructor parameters and their configured default values, and any plugins that hook into that class or its preference (including plugin type and target method).

Chapters

More from Mark

5:31
youtube.com

I let AI code while I slept... and woke up to THIS

1mo ago
7:54
youtube.com

What is an AI harness & why does Magento need one?

2mo ago
1:07
youtube.com

Are you writing your code from a mess of AI spaghetti?

2mo ago
youtube.com

Introducing Marko: The Truly Modular PHP Framework

6mo ago
youtube.com

When Do Magento Block Classes Beat ViewModels?

8mo ago
youtube.com

AI Wrote 99% of My Production App (In 3 Months)

1y ago
youtube.com

What I Realized After A Decade of Content Creation

1y ago
youtube.com

Can't Pass an Adobe Commerce Exam? HERE'S WHY

1y ago
youtube.com

What's New in Magento 2.4.8 (LATEST RELEASE 2025)

1y ago
youtube.com

Is AI Dulling Our Critical Thinking Skills?

1y ago
youtube.com

What's on the way for Magento 2.4.8? THIS IS BIG.

2y ago
See all content