Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class StaticRegistry implements PageRegistryInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var PageRegistry |
||
16 | */ |
||
17 | private $pageRegistry; |
||
18 | /** |
||
19 | * @var ThemeRegistry |
||
20 | */ |
||
21 | private $themeRegistry; |
||
22 | |||
23 | public function __construct(PageRegistry $pageRegistry, ThemeRegistry $themeRegistry) |
||
24 | { |
||
25 | $this->pageRegistry = $pageRegistry; |
||
26 | $this->themeRegistry = $themeRegistry; |
||
27 | } |
||
28 | |||
29 | public function getPage(ServerRequestInterface $request): ?BlockInterface |
||
42 | } |
||
43 | } |
||
44 |