$this->faker->unique()->ipv4, 'port' => $this->faker->unique()->numberBetween(10000, 20000), ]; } /** * Attaches the allocation to a specific server model. */ public function forServer(Server $server): self { return $this->for($server)->for($server->node); } }