1 | <?php |
||
19 | class CompositeStorage extends BaseObject implements StorageInterface |
||
20 | { |
||
21 | /** @var StorageInterface[] */ |
||
22 | private $storages; |
||
23 | |||
24 | public function init() |
||
32 | |||
33 | /** |
||
34 | * @param string $pageName |
||
35 | * @return AbstractPage|null |
||
36 | */ |
||
37 | public function getPage(string $pageName): ?AbstractPage |
||
47 | |||
48 | /** |
||
49 | * @param null|string $listId |
||
50 | * @return PagesList|null |
||
51 | */ |
||
52 | public function getList(?string $listId = null): ?PagesList |
||
62 | |||
63 | /** |
||
64 | * @param StorageInterface[] $storages |
||
65 | */ |
||
66 | public function setStorages(array $storages): void |
||
70 | } |
||
71 |