I have a scenario in which the parent is calling a method from the child.
It looks like this:
Code: Select all
$this->obj = new childClass;
$this->obj->nameOfChildMethod();Moderator: General Moderators
Code: Select all
$this->obj = new childClass;
$this->obj->nameOfChildMethod();