Lines
100.00%
4 / 4
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __invoke | 100.00% | 4 / 4 | 100.00% | 1 / 1 | 1 | ||
| 16 | final class Index extends BaseController | |
| 17 | { | |
| 18 | public const string SUGGEST_URL = 'https://github.com/elkuku/AgentTools/edit/master/docs/links.md'; | |
| 19 | ||
| 20 | public function __invoke(LinkListLoader $loader): Response | |
| 21 | { | |
| 22 | return $this->render('links/index.html.twig', [ | |
| 23 | 'linkList' => $loader->load(), | |
| 24 | 'suggestUrl' => self::SUGGEST_URL, | |
| 25 | ]); | |
| 26 | } | |
| 27 | } |