コード例 #1
0
ファイル: Calendar.php プロジェクト: rouffj/timemachine
 /**
  * {@inheritdoc}
  */
 public function remove(EventInterface $event)
 {
     $this->events = $this->strategy->remove($event, $this->events);
     $this->checkCursor();
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function remove(EventInterface $removedEvent, array $events)
 {
     $result = $this->innerStrategy->remove($removedEvent, $events);
     $this->persister->persist($this->calendar);
     return $result;
 }