public function setUserRatingCountCurrent($userRatingCountCurrent)
    {
        $userRatingCountCurrent = (int) $userRatingCountCurrent;

        if ($userRatingCountCurrent < 0) {
            throw new \InvalidArgumentException(sprintf(
                'User rating can\'t be less than "0", "%s" given.',
                $userRatingCountCurrent
            ));
        }

        $this->userRatingCountCurrent = (int) $userRatingCountCurrent;

        return $this;
    }
public function setUserRatingCountCurrent($userRatingCountCurrent)
    {
        $userRatingCountCurrent = (int) $userRatingCountCurrent;

        if ($userRatingCountCurrent < 0) {
            throw new \InvalidArgumentException(sprintf(
                'User rating can\'t be less than "0", "%s" given.',
                $userRatingCountCurrent
            ));
        }

        $this->userRatingCountCurrent = (int) $userRatingCountCurrent;

        return $this;
    }
public function setUserRatingCountCurrent ( $ userRatingCountCurrent ) { $ userRatingCountCurrent = ( int ) $ userRatingCountCurrent ; if ( $ userRatingCountCurrent < 0 ) { throw new \ InvalidArgumentException ( sprintf ( 'User rating can\'t be less than "0", "%s" given.' , $ userRatingCountCurrent ) ) ; } $ this -> userRatingCountCurrent = ( int ) $ userRatingCountCurrent ; return $ this ; }
Set user rating count for current version

@param integer $userRatingCountCurrent

@return Software

@throws \InvalidArgumentException
Set user rating count for current version