Video Lesson: Create a singleton object with dependency injection in Magento

Create a singleton object with dependency injection in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

Create a singleton object with dependency injection in Magento

Magento dependency injection tutorial using singleton Session object in PHP 8 and PHP 7.


Lesson Content

We know how to create objects with Object Manager, and we also know that it is frowned upon in Magento land. Instead of using Object Manager, we’ll create instances of objects with dependency injectio...

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!