1 | <?php |
||
7 | class Events |
||
8 | { |
||
9 | /** @var array */ |
||
10 | protected $events = []; |
||
11 | |||
12 | /** @var array */ |
||
13 | protected $rows = []; |
||
14 | |||
15 | /** |
||
16 | * Results constructor. |
||
17 | * |
||
18 | * @param array $events |
||
19 | */ |
||
20 | public function __construct(array $events) |
||
24 | |||
25 | /** |
||
26 | * @param string $label |
||
27 | * @return Row |
||
28 | */ |
||
29 | public function addRow(string $label): Row |
||
36 | |||
37 | /** |
||
38 | * @param DatasetInterface $dataset |
||
39 | * @return DatasetInterface |
||
40 | */ |
||
41 | public function prepare(DatasetInterface $dataset): DatasetInterface |
||
47 | } |