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