/** * Mark the end of life of entity * * @param Inoplate\Account\Domain\Models\Role $entity * @return void */ public function remove(AccountDomainModels\Role $entity) { $id = $entity->id()->value(); $this->model->destroy($id); }