Total Complexity | 6 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 64.29% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class GanttChart extends Chart |
||
14 | { |
||
15 | /** |
||
16 | * @var GanttChartOptions |
||
17 | */ |
||
18 | protected ChartOptionsInterface $options; |
||
19 | |||
20 | 1 | public function __construct() |
|
25 | } |
||
26 | |||
27 | 1 | public function getType(): string |
|
30 | } |
||
31 | |||
32 | 1 | public function getPackage(): string |
|
35 | } |
||
36 | |||
37 | public function getAvailableEventTypes(): array |
||
38 | { |
||
39 | return [ |
||
40 | EventType::CLICK, |
||
41 | EventType::ERROR, |
||
42 | EventType::READY, |
||
43 | EventType::SELECT, |
||
44 | ]; |
||
45 | } |
||
46 | |||
47 | 1 | public function getOptions(): GanttChartOptions |
|
48 | { |
||
49 | 1 | return $this->options; |
|
|
|||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @param GanttChartOptions $options |
||
54 | */ |
||
55 | public function setOptions(ChartOptionsInterface $options): GanttChart |
||
60 | } |
||
61 | } |
||
62 |