ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SurveySkillDeletionManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Survey\Skills;
22
27{
29
30 public function __construct(
32 ) {
33 global $DIC;
34
35 $this->survey_skill_repo = ($survey_skill_repo)
36 ?: $DIC->skills()->internalSurvey()->repo()->getSurveySkillRepo();
37 }
38
39 public function removeSurveySkillsForSkill(int $skill_node_id, bool $is_reference = false): void
40 {
41 $this->survey_skill_repo->removeForSkill($skill_node_id, $is_reference);
42 }
43}
__construct(?SurveySkillDBRepository $survey_skill_repo=null)
removeSurveySkillsForSkill(int $skill_node_id, bool $is_reference=false)
global $DIC
Definition: shib_login.php:26