コード例 #1
0
 /**
  * Add a skillMap to the required skills
  * 
  * @param \iveeCore\SkillMap $sm the SkillMap to add
  * 
  * @return void
  * @throws \iveeCore\Exceptions\InvalidParameterValueException if a skill level is not a valid integer between 
  * 0 and 5
  */
 public function addSkillMap(SkillMap $sm)
 {
     if (isset($this->skills)) {
         $this->skills->addSkillMap($sm);
     } else {
         $this->skills = $sm;
     }
 }