Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | trait MediaPageControllersCommonDependencyInjectionsTrait |
||
12 | { |
||
13 | /** @var CacheManager */ |
||
14 | private $cacheManager; |
||
15 | |||
16 | /** @var DataManager */ |
||
17 | private $dataManager; |
||
18 | |||
19 | /** @var FormErrorsFlashHelperInterface */ |
||
20 | private $formErrorsFlashHelper; |
||
21 | |||
22 | public function setFormErrorsFlashHelper(FormErrorsFlashHelperInterface $formErrorsFlashHelper): void |
||
23 | { |
||
24 | $this->formErrorsFlashHelper = $formErrorsFlashHelper; |
||
25 | } |
||
26 | |||
27 | public function setCacheManager(CacheManager $cacheManager): void |
||
28 | { |
||
29 | $this->cacheManager = $cacheManager; |
||
30 | } |
||
31 | |||
32 | public function setDataManager(DataManager $dataManager): void |
||
35 | } |
||
36 | } |
||
37 |