Lets say i have the following code.
class A {
function one() {
return $this;
}
}
class B extends A {
function two() {
return $this;
}
}
Is there any way possible that i can method chain using a function from the parent class? Such as..
$b = new B();
$b->one()->two();