프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 TerminalInterface,PhpSchool\CliMenu\Terminal $terminal | ||
리턴 | PhpSchool\CliMenu\Terminal\TerminalInterface |