public function setOutcomeIdentifier($outcomeIdentifier)
    {
        if (Format::isIdentifier($outcomeIdentifier, false) === true) {
            $this->outcomeIdentifier = $outcomeIdentifier;
        } else {
            $msg = "The 'outcomeIdentifier' argument must be a valid QTI identifier, '" . $outcomeIdentifier . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setOutcomeIdentifier($outcomeIdentifier)
    {
        if (Format::isIdentifier($outcomeIdentifier, false) === true) {
            $this->outcomeIdentifier = $outcomeIdentifier;
        } else {
            $msg = "The 'outcomeIdentifier' argument must be a valid QTI identifier, '" . $outcomeIdentifier . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setOutcomeIdentifier ( $ outcomeIdentifier ) { if ( Format :: isIdentifier ( $ outcomeIdentifier , false ) === true ) { $ this -> outcomeIdentifier = $ outcomeIdentifier ; } else { $ msg = "The 'outcomeIdentifier' argument must be a valid QTI identifier, '" . $ outcomeIdentifier . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
The identifier of an outcome variable ruling the visibility of the feedbackBlock.

@param string $identifier A QTI identifier.
@throws \InvalidArgumentException If $outcomeIdentifier is an invalid identifier.
The identifier of an outcome variable ruling the visibility of the feedbackBlock .