| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 55.56% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 1 | final class TextCombatLogRender implements ICombatLogRender { |
|
| 14 | 1 | use \Nette\SmartObject; |
|
| 15 | |||
| 16 | /** @var \Latte\Engine */ |
||
| 17 | protected $latte; |
||
| 18 | /** @var string */ |
||
| 19 | protected $template = __DIR__ . "/CombatLog.latte"; |
||
| 20 | |||
| 21 | public function __construct(ILatteFactory $latteFactory) { |
||
| 23 | 1 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @throws \RuntimeException |
||
| 27 | */ |
||
| 28 | public function setTemplate(string $template): void { |
||
| 33 | } |
||
| 34 | |||
| 35 | public function render(array $params): string { |
||
| 39 | ?> |