Ejemplo n.º 1
0
 /**
  * @param EventUpdatedFromUDB2 $eventUpdatedFromUDB2
  */
 public function applyEventUpdatedFromUDB2(EventUpdatedFromUDB2 $eventUpdatedFromUDB2)
 {
     $event = EventItemFactory::createEventFromCdbXml($eventUpdatedFromUDB2->getCdbXmlNamespaceUri(), $eventUpdatedFromUDB2->getCdbXml());
     $this->createLabelAggregatesFromCdbItem($event);
 }
Ejemplo n.º 2
0
 /**
  * @param CdbXmlContainerInterface $event
  * @return CultureFeed_Cdb_Item_Event
  */
 private function factorCdbXmlEvent(CdbXmlContainerInterface $event)
 {
     $cdbXmlEvent = EventItemFactory::createEventFromCdbXml((string) $event->getCdbXmlNamespaceUri(), (string) $event->getCdbXml());
     return $cdbXmlEvent;
 }