targets = $targets; $this->packets = $packets; } /** * @return NetworkSession[] */ public function getTargets() : array{ return $this->targets; } /** * @return ClientboundPacket[] */ public function getPackets() : array{ return $this->packets; } }