r/PHPhelp • u/[deleted] • Nov 17 '22
Solved PHP Abstract Classes, PHP Interfaces
I read about it online and still can't understand what these two is about. How does it work and when do you use these two? Can someone give example and explain these to me in simple words? Thanks!
8
Upvotes
2
u/williarin Nov 17 '22
Interface is the user manual of the chair, abstract class is the chair without the legs, class is the full chair.