|
Late Static BindingsPHP implements a feature called late static bindings which can be used to reference the called class in a context of static inheritance.
More precisely, late static bindings work by storing the class named in the
last "non-forwarding call". In case of static method calls, this is the
class explicitly named (usually the one on the left of the
This feature was named "late static bindings" with an internal perspective in
mind. "Late binding" comes from the fact that Limitations of
|