Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Theme implements ThemeInterface |
||
8 | { |
||
9 | protected string $name; |
||
10 | |||
11 | protected string $path; |
||
12 | |||
13 | public function __construct(string $name, string $path) |
||
14 | { |
||
15 | $this->name = $name; |
||
16 | $this->path = $path; |
||
17 | } |
||
18 | |||
19 | public function getName(): string |
||
22 | } |
||
23 | |||
24 | public function setName(string $name): void |
||
25 | { |
||
26 | $this->name = $name; |
||
27 | } |
||
28 | |||
29 | public function getPath(): string |
||
30 | { |
||
31 | return $this->path; |
||
32 | } |
||
33 | |||
34 | public function setPath(string $path): void |
||
37 | } |
||
38 | } |
||
39 |