1 | <?php |
||
17 | class Module extends \yii\base\Module |
||
18 | { |
||
19 | /** @var array|StorageInterface */ |
||
20 | protected $_storage; |
||
21 | |||
22 | public static function getInstance(): Module |
||
26 | |||
27 | /** |
||
28 | * This to use standard app pathes for views and layouts. |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getViewPath() |
||
35 | |||
36 | /** |
||
37 | * @param string $pageName |
||
38 | * @return AbstractPage|null |
||
39 | */ |
||
40 | public function find(string $pageName): ?AbstractPage |
||
46 | |||
47 | public function findList() |
||
53 | |||
54 | public function setStorage($value) |
||
58 | |||
59 | public function getStorage() |
||
67 | } |
||
68 |