| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait HasTemplate |
||
| 8 | { |
||
| 9 | protected ?string $sourceTemplateDisk = null; |
||
| 10 | protected ?string $sourceTemplateName = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Get template storage disk. |
||
| 14 | * |
||
| 15 | * @return string|null |
||
| 16 | */ |
||
| 17 | protected function sourceTemplateDisk(): ?string |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get path to file template. |
||
| 24 | * |
||
| 25 | * @return string|null |
||
| 26 | */ |
||
| 27 | 4 | protected function sourceFileTemplatePath(): ?string |
|
| 32 |