PHP OOP Inheritance.
Inheritance allows a class to reuse the code from another class without duplicating it. An inherited class is defined by using the extends keyword.
Inheritance allows a class to reuse the code from another class without duplicating it. An inherited class is defined by using the extends keyword.