/**
  * {@inheritDoc}
  */
 public function setEventDispatcher(EventDispatcherInterface $dispatcher)
 {
     parent::setEventDispatcher($dispatcher);
     $dispatcher->addSubscriber($this);
 }