public function __construct(int $id, string $uri, string $autoloadFile) { parent::__construct(); $this->id = $id; $this->uri = $uri; $this->autoloadFile = $autoloadFile; }
public function __construct(int $id, $socket, Thread $thread) { parent::__construct(); $this->id = $id; $this->socket = new SocketStream($socket); $this->transmitter = new SocketTransmitter($this->socket); $this->thread = $thread; }