1 | <?php |
||
24 | class UtilityService |
||
25 | { |
||
26 | /** |
||
27 | * CacheService |
||
28 | * |
||
29 | * @var \TYPO3\CMS\Extbase\Service\CacheService |
||
30 | * */ |
||
31 | protected $cacheService; |
||
32 | |||
33 | /** |
||
34 | * Settings Service |
||
35 | * |
||
36 | * @var \DERHANSEN\SfEventMgt\Service\SettingsService |
||
37 | * */ |
||
38 | protected $settingsService; |
||
39 | |||
40 | /** |
||
41 | * DI for $cacheService |
||
42 | * |
||
43 | * @param CacheService $cacheService |
||
44 | */ |
||
45 | public function injectCacheService(\TYPO3\CMS\Extbase\Service\CacheService $cacheService) |
||
49 | |||
50 | 2 | /** |
|
51 | 2 | * DI for $settingsService |
|
52 | 1 | * |
|
53 | 1 | * @param SettingsService $settingsService |
|
54 | 2 | */ |
|
55 | public function injectSettingsService(\DERHANSEN\SfEventMgt\Service\SettingsService $settingsService) |
||
59 | |||
60 | /** |
||
61 | * Clears the cache of configured pages in TypoScript |
||
62 | * |
||
63 | * @param array $settings The settings |
||
64 | * |
||
65 | * @return void |
||
66 | */ |
||
67 | public function clearCacheForConfiguredUids($settings) |
||
74 | } |
||
75 |