| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class PrefixAppendFormatter implements FormatterInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string $delimiter |
||
| 14 | */ |
||
| 15 | private $delimiter; |
||
| 16 | |||
| 17 | 14 | public function __construct(string $delimiter = '') |
|
| 20 | 14 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $originalName |
||
| 24 | * @param HostId $hostId |
||
| 25 | * @throws FormatterException |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 42 | public function formatName(string $originalName, HostId $hostId): string |
|
| 39 |