Define abstract class : Abstract Class « Class « PHP

Define abstract class


   abstract class Staff
      abstract function hire();
      abstract function fire();
      abstract function promote();
      abstract function demote();



Related examples in the same category

1.abstract class demo
2.Using Abstract Classes and Methods
3.Using Abstract Classes in PHP 5
4.abstract keyword is used to say that a method or class cannot be created in your program as it stands