plugin/competency/Manager/CompetencyManager.php
public function loadAbility(Competency $parent, Ability $ability)
    {
        $link = $this->competencyAbilityRepo->findOneByTerms($parent, $ability);
        $ability->setLevel($link->getLevel());
    }
public function loadAbility(Competency $parent, Ability $ability)
    {
        $link = $this->competencyAbilityRepo->findOneByTerms($parent, $ability);
        $ability->setLevel($link->getLevel());
    }
public function loadAbility ( Competency $ parent , Ability $ ability ) { $ link = $ this -> competencyAbilityRepo -> findOneByTerms ( $ parent , $ ability ) ; $ ability -> setLevel ( $ link -> getLevel ( ) ) ; }
Sets the level temporary attribute of an ability.

@param Competency $parent
@param Ability    $ability
Sets the level temporary attribute of an ability .