Свойство | Тип | Описание | |
---|---|---|---|
$parentMenu | |||
$style | |||
$terminal | PhpSchool\CliMenu\Terminal\TerminalInterface | ||
$text | string | ||
$x | integer | ||
$y | integer |
Метод | Описание | |
---|---|---|
__construct ( |
||
getStyle ( ) : |
Метод | Описание | |
---|---|---|
assertMenuOpen ( ) | ||
calculateCoordinates ( ) | Calculate the co-ordinates to write the messages | |
emptyRow ( ) | Write an empty row | |
write ( string $text, integer $column = null ) | Write some text at a particular column |
public __construct ( |
||
$parentMenu | ||
$menuStyle | ||
$terminal | PhpSchool\CliMenu\Terminal\TerminalInterface | |
$text | string |
protected calculateCoordinates ( ) |
protected CliMenu,PhpSchool\CliMenu $parentMenu | ||
Результат |
protected MenuStyle,PhpSchool\CliMenu $style | ||
Результат |
protected TerminalInterface,PhpSchool\CliMenu\Terminal $terminal | ||
Результат | PhpSchool\CliMenu\Terminal\TerminalInterface |