Exemplo n.º 1
0
 /**
  * @param DeadlineExpired $event
  */
 public function onDeadlineExpired(DeadlineExpired $event)
 {
     unset($this->openItems[$event->getIdentity()->getValue()]);
 }
Exemplo n.º 2
0
 /**
  * @Apha\EventHandler()
  * @param DeadlineExpired $event
  */
 public function onDeadlineExpired(DeadlineExpired $event)
 {
     $this->stateStorage->delete($event->getIdentity()->getValue());
 }