/**
  * {@inheritDoc}
  */
 public function unregister(EventDispatcherInterface $dispatcher)
 {
     $dispatcher->disconnect('core.exception', array($this, 'handleException'));
 }
 /**
  * {@inheritDoc}
  */
 public function unregister(EventDispatcherInterface $dispatcher)
 {
     $dispatcher->disconnect('core.response', array($this, 'updateCookies'));
 }