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