| Total Complexity | 4 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class BladeRenderer implements RendererInterface |
||
| 10 | { |
||
| 11 | private BladeOne $renderer; |
||
| 12 | |||
| 13 | 1 | public function __construct($viewPaths = '', $cachePath = '') |
|
| 14 | { |
||
| 15 | 1 | if ($viewPaths !== '' && $viewPaths !== '') { |
|
| 16 | 1 | $this->renderer = new BladeOne($viewPaths, $cachePath, BladeOne::MODE_AUTO); |
|
| 17 | } |
||
| 18 | 1 | } |
|
| 19 | |||
| 20 | 1 | public function render(string $filename, array $data): string |
|
| 23 | } |
||
| 24 | } |
||
| 25 |