Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class Datum |
||
12 | { |
||
13 | /** |
||
14 | * @var Stem |
||
15 | */ |
||
16 | protected $stem; |
||
17 | |||
18 | /** |
||
19 | * It can be either 'line' or 'point'. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $style; |
||
24 | |||
25 | 11 | public function __construct() |
|
26 | { |
||
27 | 11 | $this->stem = new Stem(); |
|
28 | } |
||
29 | |||
30 | 2 | public function getStem(): Stem |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return $this |
||
37 | */ |
||
38 | 2 | public function setStyle(string $style) |
|
43 | } |
||
44 | } |
||
45 |