Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class MyWebViewConverter extends WebViewConverter |
||
13 | { |
||
14 | protected ?string $viewPath = '@view'; |
||
15 | private User $identity; |
||
16 | |||
17 | public function __construct(WebView $webView, Aliases $aliases, User $identity) |
||
18 | { |
||
19 | parent::__construct($webView, $aliases); |
||
20 | $this->identity = $identity; |
||
21 | } |
||
22 | protected function getLayoutParams(string $pageContent): array |
||
27 | ]; |
||
28 | } |
||
30 |