Create a repository in Magento
Learn how to create a Magento 2 PostRepository implement PostRepositoryInterface and configure di xml preferences.
Lesson Content
Now that you have a data interface and a repository interface defined, you can finally create a repository for the blog post entity.
The idea of a repository is that other code, like another module...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.