DoctrineExtensions SoftDeleteable

Posted by Cochuyt Joeri on Stack Overflow See other posts from Stack Overflow or by Cochuyt Joeri
Published on 2012-04-07T17:26:14Z Indexed on 2012/04/07 17:29 UTC
Read the original article Hit count: 345

Filed under:
|

I'm setting up symfony2 with doctrine2 and I want to use the DoctrineExtensions (Gedmo) I followed every step, and most is working, but I fail to locate the config file where I need to make changes for the SoftDeleteable to work.

https://github.com/l3pp4rd/DoctrineExtensions/blob/master/doc/softdeleteable.md

$config = new Doctrine\ORM\Configuration;

// Your configs..

$config->addFilter('soft-deleteable', 'Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter');

© Stack Overflow or respective owner

Related posts about symfony-2.0

Related posts about doctrine2