| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class NewsletterSubscriberSaveAfterObserver implements ObserverInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var ConfigHelper |
||
| 21 | */ |
||
| 22 | private $configHelper; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var CreateUpdateContactService |
||
| 26 | */ |
||
| 27 | private $createUpdateContactService; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param ConfigHelper $configHelper |
||
| 31 | * @param CreateUpdateContactService $createUpdateContactService |
||
| 32 | */ |
||
| 33 | public function __construct( |
||
| 34 | ConfigHelper $configHelper, |
||
| 35 | CreateUpdateContactService $createUpdateContactService |
||
| 36 | ) { |
||
| 37 | $this->configHelper = $configHelper; |
||
| 38 | $this->createUpdateContactService = $createUpdateContactService; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritDoc |
||
| 43 | */ |
||
| 44 | public function execute(Observer $observer) |
||
| 53 | } |
||
| 54 | } |
||
| 55 |