1 | <?php |
||
15 | class TimerPanel extends AbstractPanel implements PanelInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $title = 'Timer'; |
||
21 | |||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $timers = []; |
||
26 | |||
27 | /** |
||
28 | * Set timer value |
||
29 | * |
||
30 | * @param string $name Timer name |
||
31 | * @param float $value value |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function setTimer(string $name, $value) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getTab() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getPanel() |
||
55 | } |
||
56 |