Ejemplo n.º 1
0
 /**
  * @param \Magento\Framework\App\Request\Http $request
  * @param ResourceConnection $resourceConnection
  * @param RedirectFactory $redirectFactory
  * @param UrlRewriteFactory $urlRewriteFactory
  */
 public function __construct(Http $request, ResourceConnection $resourceConnection, RedirectFactory $redirectFactory, UrlRewriteFactory $urlRewriteFactory)
 {
     $this->redirectFactory = $redirectFactory;
     $this->urlRewriteFactory = $urlRewriteFactory;
     parent::__construct($request, $resourceConnection);
 }
 /**
  * OrderRepository constructor.
  * @param \Magento\Framework\App\Request\Http $request
  * @param \Magento\Framework\App\ResourceConnection $resourceConnection
  * @param \Springbot\Main\Model\Api\Entity\Data\CustomerFactory $factory
  */
 public function __construct(Http $request, ResourceConnection $resourceConnection, CustomerFactory $factory)
 {
     $this->customerFactory = $factory;
     parent::__construct($request, $resourceConnection);
 }
 /**
  * OrderRepository constructor.
  * @param \Magento\Framework\App\Request\Http $request
  * @param \Magento\Framework\App\ResourceConnection $resourceConnection
  * @param \Springbot\Main\Model\Api\Entity\Data\ProductFactory $factory
  * @param StoreManagerInterface $storeManager
  */
 public function __construct(Http $request, ResourceConnection $resourceConnection, ProductFactory $factory, StoreManagerInterface $storeManager)
 {
     $this->storeManager = $storeManager;
     $this->productFactory = $factory;
     parent::__construct($request, $resourceConnection);
 }
 /**
  * @param \Magento\Framework\App\Request\Http $request
  * @param \Magento\Framework\App\ResourceConnection $resourceConnection
  * @param \Springbot\Main\Model\Api\Entity\Data\AttributeSetFactory $factory
  */
 public function __construct(Http $request, ResourceConnection $resourceConnection, AttributeSetFactory $factory)
 {
     $this->attributeSetFactory = $factory;
     parent::__construct($request, $resourceConnection);
 }