Fetch a URL parameter with a ViewModel in Magento
Learn how to retrieve URL parameters within a ViewModel using dependency injection and request handling.
Lesson Content
Since we only want a single query being responsible for populating both of these property values, how do we implement this? Well, a function which runs once per class load that is built into PHP is th...
Premium content
Enroll to unlock the full content and all course materials.
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.