37 $this->_observerFactory = $observerFactory;
38 $this->_appState = $appState;
56 $object = $this->_observerFactory->create(
$configuration[
'instance']);
58 $object = $this->_observerFactory->get(
$configuration[
'instance']);
74 throw new \LogicException(
76 'Observer "%s" must implement interface "%s"',
_callObserverMethod($object, $observer)
__construct(\Magento\Framework\Event\ObserverFactory $observerFactory, \Magento\Framework\App\State $appState)
elseif(isset( $params[ 'redirect_parent']))
dispatch(array $configuration, Observer $observer)