public function __construct($worker, $dispatcher, $config, $output, $eventLoop) { $this->worker = $worker; $this->dispatcher = $dispatcher; $this->config = $config; $this->output = $output; $this->eventLoop = $eventLoop; }