class Parent
{
public function exec()
{
// here I need the child object!
}
}
class Child extends Parent
{
public function exec()
{
// something
parent::exec();
}
}
as you can see, I need the child object from the parent. How can I reach it?