/** * @return \WellCommerce\AppBundle\Entity\CartTotalsInterface */ public function create() { $totals = new CartTotals(); $totals->setQuantity(0); $totals->setGrossPrice(0); $totals->setNetPrice(0); $totals->setTaxAmount(0); $totals->setWeight(0); return $totals; }