Question

I want to override "soft delete" functionality in symfony 1.4-Doctrine ORM.

I got the file path: lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Listener/SoftDelete.php

But i am not able to override the same file to change the functionality.

Was it helpful?

Solution


i got the solution.

Override

lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Template/Listener/SoftDelete.php

to

path_to_project/lib/listener/SoftDelete.php

It works for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top