| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ReadForum extends AbstractController |
||
| 13 | { |
||
| 14 | private MarkAsReadService $markAsReadService; |
||
| 15 | |||
| 16 | public function __construct(MarkAsReadService $markAsReadService) |
||
| 17 | { |
||
| 18 | $this->markAsReadService = $markAsReadService; |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @param Forum $forum |
||
| 24 | * @return JsonResponse |
||
| 25 | */ |
||
| 26 | public function __invoke(Forum $forum): JsonResponse |
||
| 30 | } |
||
| 31 | } |
||
| 32 |