| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | private function index(): MicroCollection |
||
| 37 | { |
||
| 38 | $collection = new MicroCollection(); |
||
| 39 | $collection->setHandler(IndexController::class, true); |
||
| 40 | $collection->setPrefix('/api'); |
||
| 41 | |||
| 42 | $collection->get('/', 'index'); |
||
| 43 | $collection->get('/test', 'test'); |
||
| 44 | |||
| 45 | return $collection; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |