Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function remove(EntityInterface $entity)
 {
     assert($entity instanceof EventInterface);
     /* @var $entity EventInterface */
     if (array_key_exists($entity->getEventId(), $this->events)) {
         unset($this->events[$entity->getEventId()]);
     }
 }