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);
 }