public function addOutcome(OutcomeDeclaration $outcome){
        $this->outcomes[$outcome->getSerial()] = $outcome;
        $outcome->setRelatedItem($this);
    }
public function addOutcome(OutcomeDeclaration $outcome){
        $this->outcomes[$outcome->getSerial()] = $outcome;
        $outcome->setRelatedItem($this);
    }
public function addOutcome ( OutcomeDeclaration $ outcome ) { $ this -> outcomes [ $ outcome -> getSerial ( ) ] = $ outcome ; $ outcome -> setRelatedItem ( $ this ) ; }
add an outcome declaration to the item

@param \oat\taoQtiItem\model\qti\OutcomeDeclaration $outcome
add an outcome declaration to the item