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