Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 92.31% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class NeonResource implements IResource |
||
12 | { |
||
13 | /** @var string */ |
||
14 | private $filepath; |
||
15 | |||
16 | /** @var string */ |
||
17 | private $lang; |
||
18 | |||
19 | /** @var string */ |
||
20 | private $prefix; |
||
21 | |||
22 | 15 | public function __construct(string $filepath, string $lang, string $prefix = '') |
|
23 | { |
||
24 | 15 | $this->filepath = $filepath; |
|
25 | 15 | $this->lang = $lang; |
|
26 | 15 | $this->prefix = $prefix; |
|
27 | 15 | } |
|
28 | |||
29 | 15 | public function load(string $lang): array |
|
43 | } |
||
44 | } |
||
45 |