1 | <?php |
||
20 | class TimerPanel extends AbstractPanel implements PanelInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $title = 'Timer'; |
||
26 | |||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $timers = []; |
||
31 | |||
32 | /** |
||
33 | * Set timer value |
||
34 | * |
||
35 | * @param string $name Timer name |
||
36 | * @param float $value value |
||
37 | * @return $this |
||
38 | */ |
||
39 | public function setTimer(string $name, $value) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function getTab() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function getPanel() |
||
60 | } |
||
61 |