php oop

Invoking the calling class in a static inherited environment

In PHP, if you have a number of  static classes, how do you make sure the called class ends up calling a method back in the calling class?

It's a complicated question, so let me clarify it with an example. Let's say I have the following classes:

Pet
  Dog (extends Pet)
    Newfoundland (extends Dog)
  Cat (extends Pet)
    MaineCoon (extends Cat)

Subscribe to php oop