1 | <?php |
||
5 | final class Countdown extends DynamicTerminalObject |
||
6 | { |
||
7 | /** @var string */ |
||
8 | private $label = ""; |
||
9 | |||
10 | |||
11 | /** |
||
12 | * @param string $label |
||
13 | */ |
||
14 | public function __construct(string $label = "Starting in... ") |
||
18 | |||
19 | |||
20 | /** |
||
21 | * @param int $from |
||
22 | */ |
||
23 | public function from(int $from): void |
||
46 | } |
||
47 |