public function load(ObjectManager $manager)
{
$adminConfig = new Config($this->getReference('admin-user'));
- $taggingRule = new TaggingRule();
-
- $taggingRule->setConfig($adminConfig);
- $taggingRule->setRule('title matches "wallabag"');
- $taggingRule->setTags(['wallabag']);
- $manager->persist($taggingRule);
$adminConfig->setTheme('material');
$adminConfig->setItemsPerPage(30);
$manager->persist($tr2);
+ $tr3 = new TaggingRule();
+
+ $tr3->setRule('title matches "wallabag"');
+ $tr3->setTags(['wallabag']);
+ $tr3->setConfig($this->getReference('admin-config'));
+
+ $manager->persist($tr3);
+
$manager->flush();
}