예제 #1
0
 public function __construct(\Magento\Directory\Model\ResourceModel\Region\Collection $regionCollection, Context $context)
 {
     $this->regionCollection = $regionCollection;
     parent::__construct($context);
 }
 public function __construct(\Magento\Sales\Model\ResourceModel\Order\Shipment\Collection $orderShipmentCollection, Context $context)
 {
     $this->orderShipmentCollection = $orderShipmentCollection;
     parent::__construct($context);
 }
예제 #3
0
 public function __construct(\Magento\Catalog\Model\Product $productModel, Context $context)
 {
     $this->productModel = $productModel;
     parent::__construct($context);
 }