repository = $repository; } /** * Delete an existing location. * * @param int|\Pterodactyl\Models\Mount $mount * @return int|null */ public function handle($mount) { $mount = ($mount instanceof Mount) ? $mount->id : $mount; Assert::integerish($mount, 'First argument passed to handle must be numeric or an instance of ' . Mount::class . ', received %s.'); return $this->repository->delete($mount); } }