Пример #1
0
 /**
  * Magic method called during class un-serialization
  *
  * @return void
  */
 public function __wakeup()
 {
     parent::__wakeup();
     $this->_encryptor = \Magento\Framework\App\ObjectManager::getInstance()->get('Magento\\Framework\\Encryption\\EncryptorInterface');
 }