Battle Of Definition

Methods signatures must be compatible with the parent class’s definition. This is true, except for __construct(), for which the compatibility is not checked.

Yet, compatibility is still enforced when the __construct definition is in an interface.

../_images/battle_of_definitions.png