| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function render() |
||
| 39 | { |
||
| 40 | $docType = $this->arguments['docType']; |
||
| 41 | |||
| 42 | /** @var \EWW\Dpf\Domain\Model\DocumentType $documentType */ |
||
| 43 | $documentType = $this->documentTypeRepository->findOneByName($docType); |
||
|
|
|||
| 44 | |||
| 45 | if ($documentType) { |
||
| 46 | return $documentType->getDisplayName(); |
||
| 47 | } |
||
| 48 | |||
| 49 | return "-"; |
||
| 50 | } |
||
| 52 |