diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php index 27d148b96..29d2b0b8a 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php @@ -363,7 +363,6 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord $manager->persist($person); $manager->persist($accompanyingPeriod); - echo "add person'" . $person->__toString() . "'\n"; $this->addReference(self::PERSON . $person->getId(), $person); } @@ -486,23 +485,4 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord return $this->cacheUsers[array_rand($this->cacheUsers)]; } - - /* - private function addAccompanyingPeriods(Person $person, array $periods, ObjectManager $manager) - { - foreach ($periods as $period) { - - echo "adding new past Accompanying Period..\n"; - - /** @var AccompanyingPeriod $accompanyingPeriod - $accompanyingPeriod = new AccompanyingPeriod(new \DateTime($period['from'])); - $accompanyingPeriod - ->setClosingDate(new \DateTime($period['to'])) - ->setRemark($period['remark']) - ; - - $person->addAccompanyingPeriod($accompanyingPeriod); - } - } - */ }