Magento 2 Repositories
Magento 2 introduced repositories for most of the core entities like products, orders, customers and so on.
Often I hear the question “Why?”. That is a very good question. What do repositories offer that Magento 1 style collections can’t?
This blog post would like to explain the reasons why or why not you would want to create repositories for your custom entities, and hopefully show how create them if you come to the conclusion that they make sense.