public function setMinor($number)
    {
        if (!Validator::isNumber($number)) {
            throw new InvalidNumberException($number);
        }

        $this->minor = intval($number);

        return $this;
    }
public function setMinor($number)
    {
        if (!Validator::isNumber($number)) {
            throw new InvalidNumberException($number);
        }

        $this->minor = intval($number);

        return $this;
    }
public function setMinor ( $ number ) { if ( ! Validator :: isNumber ( $ number ) ) { throw new InvalidNumberException ( $ number ) ; } $ this -> minor = intval ( $ number ) ; return $ this ; }
Sets the minor version number.

@param integer $number The minor version number.

@return Builder The Version builder.

@throws InvalidNumberException If the number is invalid.
Sets the minor version number .