/**
  * {@inheritdoc}
  */
 public function import()
 {
     if ($this->findById(1)) {
         return;
     }
     $event = new Event();
     $event->setId(1);
     $event->setLocation($this->findLocation());
     $event->setName('Evento de exemplo');
     $event->setStartDate(DateTime::createFromFormat('H:i:s', '00:00:00'));
     $event->setEndDate(DateTime::createFromFormat('H:i:s', '23:59:59'));
     $event->setSubmissionStart(DateTime::createFromFormat('H:i:s', '00:00:00'));
     $event->setSubmissionEnd(DateTime::createFromFormat('H:i:s', '23:59:59'));
     $event->getEndDate()->modify('+30 days');
     $event->getSubmissionEnd()->modify('+30 days');
     $this->forceAssignedIds($event);
     $this->manager->persist($event);
     $this->manager->flush();
 }