Names are not enforced between interfaces, classes and children.

It is a best practice to keep the parameters consistent between class generations, to avoid headaches when using named parameters.

#phptip #phptrick

https://php-tips.readthedocs.io/en/latest/tips/named_parameter_inheritance.html
Post image

Comments