public function getIRPByOutcome(OutcomeDeclaration $outcome){
        foreach($this->components as $irp){
            if($irp->getOutcome() == $outcome){
                $returnValue = $irp;
                break;
            }
        }

        return $returnValue;
    }
public function getIRPByOutcome(OutcomeDeclaration $outcome){
        foreach($this->components as $irp){
            if($irp->getOutcome() == $outcome){
                $returnValue = $irp;
                break;
            }
        }

        return $returnValue;
    }
public function getIRPByOutcome ( OutcomeDeclaration $ outcome ) { foreach ( $ this -> components as $ irp ) { if ( $ irp -> getOutcome ( ) == $ outcome ) { $ returnValue = $ irp ; break ; } } return $ returnValue ; }
Short description of method getIRPByOutcome

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Outcome outcome
@return oat\taoQtiItem\model\qti\response\interactionResponseProcessing\InteractionResponseProcessing
Short description of method getIRPByOutcome