46 $this->isNotifiersVerified =
false;
57 if (!$this->isNotifiersVerified) {
59 foreach ($this->notifiers as $classIndex =>
$class) {
60 $notifier = $this->objectManager->get(
$class);
62 $this->notifiers[$classIndex] = $notifier;
65 unset($this->notifiers[$classIndex]);
68 $this->isNotifiersVerified =
true;
70 throw new \InvalidArgumentException(
'All notifiers should implement NotifierInterface');
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, $notifiers=[])
$_option $_optionId $class