最佳答案
I have a classB
which extends classA
.
In both classA
and classB
I define the method fooBar()
.
In fooBar()
of classB
I want to call fooBar()
of classA
at the beginning.
Just the way I'm used to, from Objective-C. Is that possible in PHP? And if so, how?