Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | class SysAnnouncementRepository extends ServiceEntityRepository |
||
15 | { |
||
16 | protected ParameterBagInterface $parameterBag; |
||
17 | |||
18 | public function __construct(ManagerRegistry $registry, ParameterBagInterface $parameterBag) |
||
19 | { |
||
20 | parent::__construct($registry, SysAnnouncement::class); |
||
21 | $this->parameterBag = $parameterBag; |
||
22 | } |
||
23 | |||
24 | public function getVisibilityList() |
||
33 | } |
||
34 | |||
35 | public function update(SysAnnouncement $sysAnnouncement, $andFlush = true): void |
||
40 | } |
||
41 | } |
||
43 |