public function __construct(IEventDispatcher $dispatcher, string $eventType = null) { parent::__construct($dispatcher); $this->_eventType = is_null($eventType) ? self::EVENT_TYPE : $eventType; }
public function __destruct() { parent::__destruct(); unset($this->_name); }