public function setMathVariable($mathVariable)
    {
        if (is_bool($mathVariable) === true) {
            $this->mathVariable = $mathVariable;
        } else {
            $msg = "The 'mathVariable' argument must be a boolean value, '" . gettype($mathVariable) . "'.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMathVariable($mathVariable)
    {
        if (is_bool($mathVariable) === true) {
            $this->mathVariable = $mathVariable;
        } else {
            $msg = "The 'mathVariable' argument must be a boolean value, '" . gettype($mathVariable) . "'.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMathVariable ( $ mathVariable ) { if ( is_bool ( $ mathVariable ) === true ) { $ this -> mathVariable = $ mathVariable ; } else { $ msg = "The 'mathVariable' argument must be a boolean value, '" . gettype ( $ mathVariable ) . "'." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set whether or not the template variable's value should be substituted for identifiers that match
its name in MathML expressions.

@param boolean $mathVariable
@throws \InvalidArgumentException
Set whether or not the template variable s value should be substituted for identifiers that match its name in MathML expressions .