Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function setData($theme) |
||
30 | { |
||
31 | $this->theme = array_merge( |
||
32 | [ |
||
33 | 'id' => 0, |
||
34 | 'path' => '', |
||
35 | 'name' => '', |
||
36 | 'full-name' => '', |
||
37 | 'description' => '', |
||
38 | 'author' => '', |
||
39 | 'version' => '', |
||
40 | 'active' => false, |
||
41 | ], |
||
42 | (array) $theme |
||
43 | ); |
||
44 | |||
45 | return $this->theme; |
||
46 | } |
||
47 | |||
93 |