| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Template implements ITemplate |
||
| 15 | { |
||
| 16 | protected string $templatePath = ''; |
||
| 17 | |||
| 18 | public function __construct() |
||
| 19 | { |
||
| 20 | $this->templatePath = __DIR__ . '/../shared-templates/table.phtml'; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function setTemplatePath(string $templatePath): void |
||
| 24 | { |
||
| 25 | $this->templatePath = $templatePath; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function render(Table $table): string |
||
| 33 | } |
||
| 34 | } |
||
| 35 |