Elcodi\Plugin\CustomShippingBundle\Factory\ShippingRangeFactory::createZeroAmountMoney PHP Method

createZeroAmountMoney() protected method

Returns a zero-initialized Money object to be assigned to product prices
protected createZeroAmountMoney ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface
return Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface
    protected function createZeroAmountMoney()
    {
        return Money::create(0, $this->defaultCurrencyWrapper->get());
    }