1 | <?php |
||
15 | class Configuration |
||
16 | { |
||
17 | /** |
||
18 | * @var Dispatcher |
||
19 | */ |
||
20 | protected $signalSlotDispatcher; |
||
21 | |||
22 | /** |
||
23 | * @var StrategyRepository |
||
24 | */ |
||
25 | protected $strategyRepository; |
||
26 | |||
27 | /** |
||
28 | * @var ImportServiceInterface |
||
29 | */ |
||
30 | protected $importService; |
||
31 | |||
32 | /** |
||
33 | * Configuration constructor. |
||
34 | * @param Dispatcher $signalSlotDispatcher |
||
35 | * @param StrategyRepository $strategyRepository |
||
36 | */ |
||
37 | 6 | public function __construct(Dispatcher $signalSlotDispatcher, StrategyRepository $strategyRepository, ImportServiceInterface $importService) |
|
43 | |||
44 | /** |
||
45 | * @param array $configuration |
||
46 | * @param ManagerInterface $manager |
||
47 | * @param mixed $filter |
||
48 | * |
||
49 | * @throws ReinitializeException |
||
50 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
51 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
52 | */ |
||
53 | 5 | public function process(array $configuration, ManagerInterface $manager, $filter = null) |
|
61 | |||
62 | /** |
||
63 | * @param array $configuration |
||
64 | * @param string $name |
||
65 | * |
||
66 | * @return bool |
||
67 | */ |
||
68 | 3 | public function canProcess(array $configuration, $name) |
|
72 | |||
73 | /** |
||
74 | * @param array $configuration |
||
75 | * @param ManagerInterface $manager |
||
76 | * |
||
77 | * @throws ReinitializeException |
||
78 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
79 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
80 | */ |
||
81 | 4 | protected function processInner(array $configuration, ManagerInterface $manager) |
|
95 | |||
96 | /** |
||
97 | * @param string $name |
||
98 | * @param array $configuration |
||
99 | * @return $this |
||
100 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
101 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
102 | */ |
||
103 | 4 | protected function emitSignal($name, array &$configuration) |
|
114 | |||
115 | /** |
||
116 | * @param array $configuration |
||
117 | * @param ManagerInterface $manager |
||
118 | * @return $this |
||
119 | */ |
||
120 | 4 | protected function updateInterval(array $configuration, ManagerInterface $manager) |
|
128 | |||
129 | /** |
||
130 | * @param array $configuration |
||
131 | * @return $this |
||
132 | * @throws ReinitializeException |
||
133 | */ |
||
134 | 4 | protected function reinitializeScheduler(array $configuration) |
|
142 | |||
143 | /** |
||
144 | * @param array $configuration |
||
145 | * @return $this |
||
146 | */ |
||
147 | 4 | protected function createImport(array $configuration) |
|
164 | } |
||
165 |