In the new video called Advice for all Magento 2 Developers I opened a question related to service classes which are responsible for providing current object or instance of an entity.
The service can use Repository interface to load a required entity and then provide it for a further usage, for example in a View Model class.
Subscribe to my channel to get more videos.
Max Pronko is an international Magento Expert, development consultant, motivational speaker and Magento award-winning developer. He is known for the educational development programs for organizations of all sizes and has positively affected thousands of people and organizations worldwide.
Subscribe to my Magento 2 tips and tutorials content.
Every week I send an interesting email directly to your inbox