public function setPatternMask($patternMask)
    {
        if (is_string($patternMask) === false) {
            throw new InvalidArgumentException(
                "The 'patternMask' argument must be a string, '" . gettype($patternMask) . "' given."
            );
        }
        
        $this->patternMask = $patternMask;
    }
public function setPatternMask($patternMask)
    {
        if (is_string($patternMask) === false) {
            throw new InvalidArgumentException(
                "The 'patternMask' argument must be a string, '" . gettype($patternMask) . "' given."
            );
        }
        
        $this->patternMask = $patternMask;
    }
public function setPatternMask ( $ patternMask ) { if ( is_string ( $ patternMask ) === false ) { throw new InvalidArgumentException ( "The 'patternMask' argument must be a string, '" . gettype ( $ patternMask ) . "' given." ) ; } $ this -> patternMask = $ patternMask ; }
Set the PatternMask for the ResponseValidityConstraint.

Set the XML Schema regular expression representing a constraint to be applied on all string
values contained by the variable described in the $responseÏdentifier variable. Providing an empty
string as the $patternMask means there is no constraint to be applied.

@param string $patternMask An XML Schema regular expression.
Set the PatternMask for the ResponseValidityConstraint .