Create a repository interface in Magento
Learn how to create a Magento PostRepositoryInterface with save getById deleteById CRUD methods and Swagger ready docblocks.
Lesson Content
We now want to create an interface that our repository can implement. Remember that repository interfaces lay out a public API that is dependable and that others can rely on. It’s completely up to you...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.