| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 39 | public function getNameString(IL10N $l10n) : string { |
||
| 40 | ($l10n); // unused in this base implementation |
||
| 41 | if (\property_exists($this, 'name')) { |
||
| 42 | return $this->getName(); |
||
| 43 | } elseif (\property_exists($this, 'title')) { |
||
| 44 | return $this->getTitle(); |
||
| 45 | } else { |
||
| 46 | return 'UNIMPLEMENTED'; |
||
| 47 | } |
||
| 50 |