public function setValueType($valueType)
    {
        if (in_array($valueType, ParamType::asArray(), true) === true) {
            $this->valueType = $valueType;
        } else {
            $msg = "The 'valueType' argument must be a value from the ParamType enumeration, '" . gettype($valueType) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setValueType($valueType)
    {
        if (in_array($valueType, ParamType::asArray(), true) === true) {
            $this->valueType = $valueType;
        } else {
            $msg = "The 'valueType' argument must be a value from the ParamType enumeration, '" . gettype($valueType) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setValueType ( $ valueType ) { if ( in_array ( $ valueType , ParamType :: asArray ( ) , true ) === true ) { $ this -> valueType = $ valueType ; } else { $ msg = "The 'valueType' argument must be a value from the ParamType enumeration, '" . gettype ( $ valueType ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the valueType attribute.

@param integer $valueType A value from the ParamType enumeration.
@throws \InvalidArgumentException If $valueType is not a value from the ParamType enumeration.
Set the valueType attribute .