Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class RandomObject |
||
8 | { |
||
9 | public string $dirPath; |
||
10 | |||
11 | public int $fileNumber; |
||
12 | |||
13 | public array $randomList; |
||
14 | |||
15 | public function __construct( |
||
16 | string $dirPath, |
||
17 | int $fileNumber, |
||
18 | array $randomList |
||
19 | ) { |
||
20 | $this->dirPath = $dirPath; |
||
21 | $this->fileNumber = $fileNumber; |
||
22 | $this->randomList = $randomList; |
||
23 | } |
||
24 | |||
25 | public function getDirPath(): string |
||
26 | { |
||
27 | return $this->dirPath; |
||
28 | } |
||
29 | |||
30 | public function getFileNumber(): int |
||
33 | } |
||
34 | |||
35 | public function getRandomList(): array |
||
38 | } |
||
39 | } |
||
40 |