Total Complexity | 13 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class DefaultModifier |
||
18 | { |
||
19 | private $booleanField; |
||
20 | private $datetimeField; |
||
21 | private $decorator; |
||
22 | |||
23 | 63 | public function __construct(BooleanField $booleanField, DatetimeField $datetimeField, Decorator $decorator) |
|
24 | { |
||
25 | 63 | $this->booleanField = $booleanField; |
|
26 | 63 | $this->datetimeField = $datetimeField; |
|
27 | 63 | $this->decorator = $decorator; |
|
28 | 63 | } |
|
29 | |||
30 | /** |
||
31 | * @param string $dbalType |
||
32 | * @param Column $column |
||
33 | * @return string |
||
34 | */ |
||
35 | 12 | public function generate(string $dbalType, Column $column): string |
|
59 | } |
||
60 | } |
||
61 |