public function setUserRatingCount($userRatingCount)
    {
        $userRatingCount = (int) $userRatingCount;

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

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

        return $this;
    }
public function setUserRatingCount($userRatingCount)
    {
        $userRatingCount = (int) $userRatingCount;

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

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

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

@param integer $userRatingCount

@return Software

@throws \InvalidArgumentException
Set user rating count