]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/DataFixtures/TagFixtures.php
Update fixtures
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / DataFixtures / TagFixtures.php
similarity index 70%
rename from src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTagData.php
rename to src/Wallabag/CoreBundle/DataFixtures/TagFixtures.php
index 0ecfd18b55ddab8c00f1616586f78a9f576af5c3..803ad7789ea0fec565e2f96ddcfe77cda971b859 100644 (file)
@@ -1,13 +1,13 @@
 <?php
 
-namespace Wallabag\CoreBundle\DataFixtures\ORM;
+namespace Wallabag\CoreBundle\DataFixtures;
 
-use Doctrine\Common\DataFixtures\AbstractFixture;
-use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
+use Doctrine\Bundle\FixturesBundle\Fixture;
+use Doctrine\Common\DataFixtures\DependentFixtureInterface;
 use Doctrine\Common\Persistence\ObjectManager;
 use Wallabag\CoreBundle\Entity\Tag;
 
-class LoadTagData extends AbstractFixture implements OrderedFixtureInterface
+class TagFixtures extends Fixture
 {
     /**
      * {@inheritdoc}
@@ -44,12 +44,4 @@ class LoadTagData extends AbstractFixture implements OrderedFixtureInterface
 
         $manager->flush();
     }
-
-    /**
-     * {@inheritdoc}
-     */
-    public function getOrder()
-    {
-        return 25;
-    }
 }