can a class extend two classes in php code example
Example: extend multiple classes in php
// this is NOT allowed
Matron extends Nurse, HumanEntity
You cannot have a class that extends two base classes. You could not have.
You could however have a hierarchy as follows...
Nurse extends HumanEntity
Matron extends Nurse