private function insertOneFeedItem(EntityManager $em, \Pimple $DI, FeedEntry $entry, $public)
 {
     if ($public) {
         $start = 5;
     } else {
         $start = 1;
     }
     $limit = $start + 3;
     for ($start; $start < $limit; $start++) {
         $item = new FeedItem();
         $item->setEntry($entry);
         $actual = $DI['record_' . $start];
         $item->setRecordId($actual->get_record_id());
         $item->setSbasId($actual->get_sbas_id());
         $item->setEntry($entry);
         $entry->addItem($item);
         $em->persist($item);
     }
     $em->persist($entry);
 }
 /**
  * {@inheritDoc}
  */
 public function setSbasId($sbasId)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSbasId', array($sbasId));
     return parent::setSbasId($sbasId);
 }