public function edit($id, LanguageForm $form): void
    {
        $model = $this->repository->get($id);
        $model->edit(
            $form->name,
            $form->slug,
            $form->locale,
            $form->alias,
            $form->icon
        );
        $this->assertIsUniqueSlug($model);
        $this->repository->save($model);
    }