| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function searchJsonAction(Request $request) |
||
| 18 | { |
||
| 19 | $configuration = $this->requestConfigurationFactory->create($this->metadata, $request); |
||
| 20 | $keyword = $request->get('keyword'); |
||
| 21 | $results = $this->get('dos.repository.tag')->search($keyword) ?: array(); |
||
| 22 | |||
| 23 | return $this->viewHandler->handle($configuration, View::create($results)); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |