eventHandler_ = new TProcessorEventHandler(); $this->handler_ = $handler; } public function getHandler(): this::TThriftIf { return $this->handler; } public function setEventHandler(TProcessorEventHandler $event_handler): this { $this->eventHandler_ = $event_handler; return $this; } public function getEventHandler(): TProcessorEventHandler { return $this->eventHandler_; } }