1 | <?php |
||
13 | class Target |
||
14 | { |
||
15 | /** |
||
16 | * @var ImportServiceInterface |
||
17 | */ |
||
18 | protected $importService; |
||
19 | |||
20 | /** |
||
21 | * @var Dispatcher |
||
22 | */ |
||
23 | protected $signalSlotDispatcher; |
||
24 | |||
25 | /** |
||
26 | * Target constructor. |
||
27 | * |
||
28 | * @param ImportServiceInterface $importService |
||
29 | * @param Dispatcher $signalSlotDispatcher |
||
30 | */ |
||
31 | 2 | public function __construct(ImportServiceInterface $importService, Dispatcher $signalSlotDispatcher) |
|
36 | |||
37 | /** |
||
38 | * @param TargetInterface $target |
||
39 | * @param mixed $entry |
||
40 | * @param Import $import |
||
41 | * @param int $pointer |
||
42 | * |
||
43 | * @throws \Exception |
||
44 | */ |
||
45 | 2 | public function process(TargetInterface $target, $entry, Import $import, $pointer) |
|
57 | |||
58 | /** |
||
59 | * @param string $name |
||
60 | * @param array $configuration |
||
61 | * @param mixed $entry |
||
62 | * |
||
63 | * @return mixed |
||
64 | */ |
||
65 | 2 | protected function emitEntrySignal($name, array $configuration, $entry) |
|
75 | } |
||
76 |