This commit is contained in:
James 2020-12-26 15:41:15 +00:00
parent c1ce7c9d6f
commit 813b30d210

View File

@ -6,9 +6,6 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class TestCommand extends Command{
/**
* {@inheritdoc}
*/
private $_state;
private $_objectManager;
@ -37,9 +34,6 @@ class TestCommand extends Command{
parent::configure();
}
/**
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output){
$this->_productAction=$this->_objectManager->get('\Magento\Catalog\Model\ResourceModel\Product\Action');
$output->writeln(get_class($this->_productAction));