public function getChoiceBySerial($serial){
        $returnValue = null;
        $choices = $this->getChoices();
        if(isset($choices[$serial])){
            $returnValue = $choices[$serial];
        }
        return $returnValue;
    }
public function getChoiceBySerial($serial){
        $returnValue = null;
        $choices = $this->getChoices();
        if(isset($choices[$serial])){
            $returnValue = $choices[$serial];
        }
        return $returnValue;
    }
public function getChoiceBySerial ( $ serial ) { $ returnValue = null ; $ choices = $ this -> getChoices ( ) ; if ( isset ( $ choices [ $ serial ] ) ) { $ returnValue = $ choices [ $ serial ] ; } return $ returnValue ; }
Find a choice identified by its serial

@param string $serial
@return oat\taoQtiItem\model\qti\choice\Choice
Find a choice identified by its serial