public function setResponseIdentifier($responseIdentifier)
    {
        if (is_string($responseIdentifier) === false || empty($responseIdentifier) === true) {
            throw new InvalidArgumentException(
                "The 'responseIdentifier' argument must be a non-empty string."
            );
        }
        
        $this->responseIdentifier = $responseIdentifier;
    }
public function setResponseIdentifier($responseIdentifier)
    {
        if (is_string($responseIdentifier) === false || empty($responseIdentifier) === true) {
            throw new InvalidArgumentException(
                "The 'responseIdentifier' argument must be a non-empty string."
            );
        }
        
        $this->responseIdentifier = $responseIdentifier;
    }
public function setResponseIdentifier ( $ responseIdentifier ) { if ( is_string ( $ responseIdentifier ) === false || empty ( $ responseIdentifier ) === true ) { throw new InvalidArgumentException ( "The 'responseIdentifier' argument must be a non-empty string." ) ; } $ this -> responseIdentifier = $ responseIdentifier ; }
Set the identifier of the response the validity constraint applies to.

@param integer $responseIdentifier
@throws \InvalidArgumentException If $responseIdentifier is not a non-empty string.
Set the identifier of the response the validity constraint applies to .