protected function _restoreEventContext() { $app = \Mage::app(); $this->_setProtectedPropertyFromObjectToValue('_events', $app, $this->_eventStash); }