/**
  * @return \WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface
  */
 public function create()
 {
     $shippingMethod = new ShippingMethod();
     $shippingMethod->setCosts(new ArrayCollection());
     $shippingMethod->setEnabled(true);
     $shippingMethod->setHierarchy(0);
     return $shippingMethod;
 }
 public function create() : ShippingMethodInterface
 {
     $shippingMethod = new ShippingMethod();
     $shippingMethod->setCosts($this->createEmptyCollection());
     $shippingMethod->setEnabled(true);
     $shippingMethod->setHierarchy(0);
     $shippingMethod->setCurrency(null);
     $shippingMethod->setTax(null);
     $shippingMethod->setCalculator('');
     $shippingMethod->setCountries([]);
     $shippingMethod->setOptionsProvider('');
     return $shippingMethod;
 }