প্রশ্ন ট্যাগ «action»


5
আমি কেন ম্যাজেন্টো 2-তে প্রোডাক্টের রিপোসিটোরি ইন্টারফেস ইনজেক্ট করতে পারি না?
আমার একটি কন্ট্রোলার অ্যাকশন রয়েছে যার মধ্যে আমি পণ্য-সংগ্রহশালা ইনজেকশন করতে চাই namespace Nosto\Tagging\Controller\Export; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Store\Model\StoreManagerInterface; use Magento\Backend\App\Action; use Magento\Framework\App\Action\Context; class Test extends Action { private $_productRepository; public function __construct( Context $context, StoreManagerInterface $storeManager, ProductRepositoryInterface $productRepository ) { parent::__construct($context); $this->_storeManager = $storeManager; $this->_productRepository = $productRepository; } আমি আমার …
আমাদের সাইট ব্যবহার করে, আপনি স্বীকার করেছেন যে আপনি আমাদের কুকি নীতি এবং গোপনীয়তা নীতিটি পড়েছেন এবং বুঝতে পেরেছেন ।
Licensed under cc by-sa 3.0 with attribution required.