Can you do something like this in PHP:
function foo()
{
super->foo();
// do something
}
Can you do something like this in PHP:
function foo()
{
super->foo();
// do something
}
Yes, it's called parent::
though.
public function foo()
{
parent::foo(); // this is not a static method call, even though it looks like one
//do something
}