1 | <?php |
||
32 | class ModuleData |
||
33 | { |
||
34 | /** |
||
35 | * @var Site |
||
36 | */ |
||
37 | protected $site = null; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $core = ''; |
||
43 | |||
44 | /** |
||
45 | * Gets the site to work with. |
||
46 | * |
||
47 | * @return Site |
||
48 | */ |
||
49 | public function getSite() |
||
53 | |||
54 | /** |
||
55 | * Sets the site to work with. |
||
56 | * |
||
57 | * @param Site $site |
||
58 | * @return void |
||
59 | */ |
||
60 | public function setSite(Site $site) |
||
64 | |||
65 | /** |
||
66 | * Gets the name of the currently selected core |
||
67 | * |
||
68 | * @return string Selected core name |
||
69 | */ |
||
70 | public function getCore() |
||
74 | |||
75 | /** |
||
76 | * Sets the name of the currently selected core |
||
77 | * |
||
78 | * @param string $core Selected core name |
||
79 | */ |
||
80 | public function setCore($core) |
||
84 | } |
||
85 |