Video Lesson: Create a class that implements an interface in Magento

Create a class that implements an interface in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Create a class that implements an interface in Magento

Learn Magento 2 dependency injection using RequestInterface to access URL params in controllers.


Lesson Content

Just like we created the session object with dependency injection, we can do the same to get a request object, which will allow us to get URL params and other items from the web request.

There’s a ...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Notes

Keep track of what you learn!