Class Hierarchy
The class hierarchy is a list of classes, which are extending one from another. The extended classes are parents, and the extending classes are children. Classes extending the same class are also called siblings.
The depth of the class hierarchy is a measure of the complexity.
<?php
class Elephpant {}
class AfricanElephpant extends Elephpant {}
class Calf extends AfricanElephpant {}
class PlayfulCalf extends Calf {}
class ShyCalf extends Calf {}
?>