/** * {@inheritDoc} */ protected function doLoad(ObjectManager $manager) { $doc = new Document(); $doc->setContent("<p>Content is good and cheesy.</p>"); $doc->setPath('test1'); $doc->setSummary("summarized"); $doc->setTitle("title1"); $manager->persist($doc); $this->setReference('doc', $doc); $manager->flush(); }