我想覆盖symfony 1.4-Doctrine ORM中的"软删除"功能。
我得到了文件路径:lib/vendr/symfony/lib/plugins/sfDoctrinePlugin/lib/vender/doctrine/Template/Listener/SoftDelete.php
但我无法覆盖相同的文件来更改功能。
我找到了答案
覆盖
lib/vendr/symfony/lib/plugins/sfDoctrinePlugin/lib/vender/doctrine/Template/Listener/SoftDelete.php
至
path_to_project/lib/listener/SoftDelete.php
它对我有效。