Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function display() |
||
15 | { |
||
16 | $this->assertMenuOpen(); |
||
17 | |||
18 | $this->terminal->moveCursorToRow($this->y); |
||
19 | |||
20 | $this->emptyRow(); |
||
21 | |||
22 | $this->write(sprintf( |
||
23 | "%s%s%s%s%s\n", |
||
24 | $this->style->getUnselectedSetCode(), |
||
25 | str_repeat(' ', $this->style->getPadding()), |
||
26 | $this->text, |
||
27 | str_repeat(' ', $this->style->getPadding()), |
||
28 | $this->style->getUnselectedUnsetCode() |
||
29 | )); |
||
30 | |||
31 | $this->emptyRow(); |
||
32 | $this->terminal->moveCursorToTop(); |
||
33 | $this->terminal->getKeyedInput(); |
||
34 | $this->parentMenu->redraw(); |
||
35 | } |
||
36 | } |
||
37 |