hello,
can u help me sorting this out?
i have 2 classes:
class A
{
public function A()
{
}
protected function aMethod()
{
$this->aSecondMethod();
// ......
}
protected function aSecondMethod()
{
// do sth.
}
}
class B extends A
{
protected function aMethod()
{
// shouldn't call A::aSecondMethod(), so it is empty
}
}
i thought, that this is it, if B is invocated, aSecondMethod() shouldnt be called
but it IS called.
why that? is there a fundamental error in my logic???
pls help me with that, its drivin' me mental !
thanks in advance