| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | public function model(): Response |
||
| 37 | { |
||
| 38 | $content = $this->apiClient->get('/model/project', [], ['Accept' => 'application/json']); |
||
| 39 | |||
| 40 | $response = $this->response->withStringBody(json_encode($content)); |
||
| 41 | $response = $response->withType('application/json'); |
||
| 42 | |||
| 43 | return $response->withDownload(self::FILENAME); |
||
| 44 | } |
||
| 46 |