public function setSourceValue($sourceValue)
    {
        if (is_int($sourceValue)) {
            $this->sourceValue = $sourceValue;
        } else {
            $msg = "SourceValue must be an integer, '" . gettype($sourceValue) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSourceValue($sourceValue)
    {
        if (is_int($sourceValue)) {
            $this->sourceValue = $sourceValue;
        } else {
            $msg = "SourceValue must be an integer, '" . gettype($sourceValue) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSourceValue ( $ sourceValue ) { if ( is_int ( $ sourceValue ) ) { $ this -> sourceValue = $ sourceValue ; } else { $ msg = "SourceValue must be an integer, '" . gettype ( $ sourceValue ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the source integer that must be matched exactly.

@param integer $sourceValue An integer value.
@throws \InvalidArgumentException If $sourceValue is not an integer.
Set the source integer that must be matched exactly .