DEV Community

Mahedi Hasan
Mahedi Hasan

Posted on

Class Abstraction | Abstract class in PHP

PHP 5 introduces abstract classes and methods. Classes defined as abstract cannot be instantiated, and any class that contains at least one abstract method must also be abstract. Methods defined as abstract simply declare the method's signature - they cannot define the implementation.

https://www.codechief.org/article/class-abstraction-abstract-class-in-php.html

Top comments (0)