Browse files

added use and orm purger for the example

  • Loading branch information...
1 parent 8fb90c5 commit 4afbf0f6a2d13315a10e84e0b13435079c469a52 @pscheit pscheit committed May 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
3 README.md
@@ -41,8 +41,9 @@ You can get the added fixtures using the getFixtures() method:
Now you can easily execute the fixtures:
use Doctrine\Common\DataFixtures\Executor\ORMExecutor;
+ use Doctrine\Common\DataFixtures\Purger\ORMPurger;
- $purger = new Purger();
+ $purger = new ORMPurger();
$executor = new ORMExecutor($em, $purger);
$executor->execute($loader->getFixtures());

0 comments on commit 4afbf0f

Please sign in to comment.