0

What is interface in Magento2 ? Why use this ? I want to know more detail about interface ?

1 Answer 1

0

Main use of Interface is :

A public interface is a set of code that third-party developers can call, implement, or build as a plug-in. Magento guarantees that this code will not change in subsequent releases without a major version change.

You can read the detail information here :

https://devdocs.magento.com/guides/v2.4/extension-dev-guide/api-concepts.html

2
  • Thank you Dhiren Vasoya Apr 12, 2022 at 6:10
  • If answer help, upvote and accept as solution, so it will help other into community. Apr 12, 2022 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.