Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class ScheduledAnnouncementRepository extends ServiceEntityRepository |
||
14 | { |
||
15 | public function __construct(ManagerRegistry $registry) |
||
16 | { |
||
17 | parent::__construct($registry, ScheduledAnnouncement::class); |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Mark an announcement as sent. |
||
22 | * |
||
23 | * @param ScheduledAnnouncement $announcement |
||
24 | */ |
||
25 | public function markAsSent(ScheduledAnnouncement $announcement): void |
||
30 | } |
||
31 | } |
||
32 |