Video Lesson: Create an object with a factory using dependency injection in Magento

Create an object with a factory using dependency injection in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

Create an object with a factory using dependency injection in Magento

Learn Magento 2 dependency injection by creating Page objects with PageFactory in a controller.


Lesson Content

So far, we’ve just used var_dump and die to output data to the screen, but you’ll only ever really be doing this when debugging code. You’ll almost always want to instead return something like a p...

Premium content

Enroll to unlock the full content and all course materials.

Black Friday

The whole University for $299/yr.

Get the deal →
Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Black Friday

The whole University for $299/yr.

Every course, Maggie & Campus. The lowest price ever.

Get the deal →
Comments

Join the discussion!

Notes

Keep track of what you learn!