protected function isPriceValid($priceValue)
    {
        $floatType = new FloatType();
        if (!$floatType->isValid($priceValue) || $priceValue <= 0) {
            throw new InvalidConditionValueException(
                \get_class(),
                'price'
            );
        }

        return true;
    }
protected function isPriceValid($priceValue)
    {
        $floatType = new FloatType();
        if (!$floatType->isValid($priceValue) || $priceValue <= 0) {
            throw new InvalidConditionValueException(
                \get_class(),
                'price'
            );
        }

        return true;
    }
protected function isPriceValid ( $ priceValue ) { $ floatType = new FloatType ( ) ; if ( ! $ floatType -> isValid ( $ priceValue ) || $ priceValue <= 0 ) { throw new InvalidConditionValueException ( \ get_class ( ) , 'price' ) ; } return true ; }
Check if price is valid

@param float $priceValue Price value to check

@return bool
@throws \Thelia\Exception\InvalidConditionValueException
Check if price is valid