Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class Ruleset |
||
8 | { |
||
9 | /** @var Rules */ |
||
10 | private $rules; |
||
11 | |||
12 | /** @var Uninflected */ |
||
13 | private $uninflected; |
||
14 | |||
15 | /** @var Irregular */ |
||
16 | private $irregular; |
||
17 | |||
18 | 532 | public function __construct(Rules $rules, Uninflected $uninflected, Irregular $irregular) |
|
19 | { |
||
20 | 532 | $this->rules = $rules; |
|
21 | 532 | $this->uninflected = $uninflected; |
|
22 | 532 | $this->irregular = $irregular; |
|
23 | 532 | } |
|
24 | |||
25 | 182 | public function getRules() : Rules |
|
28 | } |
||
29 | |||
30 | 424 | public function getUninflected() : Uninflected |
|
33 | } |
||
34 | |||
35 | 514 | public function getIrregular() : Irregular |
|
38 | } |
||
39 | } |
||
40 |