public function setMinOperands($minOperands)
    {
        if (is_int($minOperands) && $minOperands >= 0) {
            $this->minOperands = $minOperands;
        } else {
            $msg = "The minOperands argument must be an integer >= 0, '" . $minOperands . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMinOperands($minOperands)
    {
        if (is_int($minOperands) && $minOperands >= 0) {
            $this->minOperands = $minOperands;
        } else {
            $msg = "The minOperands argument must be an integer >= 0, '" . $minOperands . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMinOperands ( $ minOperands ) { if ( is_int ( $ minOperands ) && $ minOperands >= 0 ) { $ this -> minOperands = $ minOperands ; } else { $ msg = "The minOperands argument must be an integer >= 0, '" . $ minOperands . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the minimum operands count for this Operator.

@param int $minOperands An integer which is >= 0.
@throws \InvalidArgumentException If $minOperands is not an integer >= 0.
Set the minimum operands count for this Operator .