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 | * |
||
35 | * @param Dispatcher $signalSlotDispatcher |
||
36 | * @param StrategyRepository $strategyRepository |
||
37 | * @param ImportServiceInterface $importService |
||
38 | */ |
||
39 | 6 | public function __construct(Dispatcher $signalSlotDispatcher, StrategyRepository $strategyRepository, ImportServiceInterface $importService) |
|
45 | |||
46 | /** |
||
47 | * @param array $configuration |
||
48 | * @param ManagerInterface $manager |
||
49 | * @param mixed $filter |
||
50 | * |
||
51 | * @throws ReinitializeException |
||
52 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
53 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
54 | */ |
||
55 | 5 | public function process(array $configuration, ManagerInterface $manager, $filter = null) |
|
63 | |||
64 | /** |
||
65 | * @param array $configuration |
||
66 | * @param string $name |
||
67 | * |
||
68 | * @return bool |
||
69 | */ |
||
70 | 3 | public function canProcess(array $configuration, $name) |
|
74 | |||
75 | /** |
||
76 | * @param array $configuration |
||
77 | * @param ManagerInterface $manager |
||
78 | * |
||
79 | * @throws ReinitializeException |
||
80 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
81 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
82 | */ |
||
83 | 4 | protected function processInner(array $configuration, ManagerInterface $manager) |
|
97 | |||
98 | /** |
||
99 | * @param string $name |
||
100 | * @param array $configuration |
||
101 | * |
||
102 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException |
||
103 | * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException |
||
104 | */ |
||
105 | 4 | protected function emitSignal($name, array &$configuration) |
|
113 | |||
114 | /** |
||
115 | * @param array $configuration |
||
116 | * @param ManagerInterface $manager |
||
117 | * @return $this |
||
118 | */ |
||
119 | 4 | protected function updateInterval(array $configuration, ManagerInterface $manager) |
|
127 | |||
128 | /** |
||
129 | * @param array $configuration |
||
130 | * @return $this |
||
131 | * @throws ReinitializeException |
||
132 | */ |
||
133 | 4 | protected function reinitializeScheduler(array $configuration) |
|
141 | |||
142 | /** |
||
143 | * @param array $configuration |
||
144 | * @return $this |
||
145 | */ |
||
146 | 4 | protected function createImport(array $configuration) |
|
163 | } |
||
164 |