Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function __wakeup()
 {
     parent::__wakeup();
     $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
     $this->_fetchStrategy = $objectManager->get(Logger::class);
     $this->_logger = $objectManager->get(FetchStrategyInterface::class);
     $this->_conn = $objectManager->get(ResourceConnection::class)->getConnection();
 }