标签: php symfony inheritance symfony-2.1
最终方法foo在父类中。
foo
此final方法调用函数bar。
final
bar
我需要在子类中覆盖bar。
但不幸的是,foo在调用bar时,是从父类而不是子类中调用bar 。
请注意,继承是通过覆盖包(1)