repository = $repository; } /** * Create a new mount. * * @param array $data * @return \Pterodactyl\Models\Mount * * @throws \Exception * @throws \Pterodactyl\Exceptions\Model\DataValidationException */ public function handle(array $data) { return $this->repository->create(array_merge($data, [ 'uuid' => Uuid::uuid4()->toString(), ]), true, true); } }