Interface VS Abstract Class in PHP | Web Development Company

Stéphane Thibault >_

sthibault bookmarked a link:

In principle, if an abstract class contains only abstract methods we’re using it as an interface.


Abstract classes are used to share functions.
The interfaces are used to share how you have to do something.