Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class DmsDatabase implements DmsDatabaseInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $name; |
||
14 | |||
15 | /** |
||
16 | * @var DmsTableInterface[] |
||
17 | */ |
||
18 | protected $dmsTables = []; |
||
19 | |||
20 | /** |
||
21 | * @param string $name |
||
22 | * @param DmsTableInterface[] $dmsTables |
||
23 | */ |
||
24 | public function __construct(string $name, array $dmsTables) |
||
25 | { |
||
26 | $this->name = $name; |
||
27 | $this->dmsTables = $dmsTables; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getName(): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getPhpName(): string |
||
49 | )); |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @return DmsTableInterface[] |
||
54 | */ |
||
55 | public function getDmsTables(): array |
||
60 |