Method | Description | |
---|---|---|
__construct ( ) | Creates a new layout. | |
add ( Webmozart\Console\UI\Component $element ) : static | Adds a renderable element to the layout. | |
beginBlock ( ) : static | Starts a new indented block. | |
endBlock ( ) : static | Ends the current indented block. | |
render ( |
Renders all elements in the layout. |
public add ( Webmozart\Console\UI\Component $element ) : static | ||
$element | Webmozart\Console\UI\Component | The element to add. |
return | static | The current instance. |
public beginBlock ( ) : static | ||
return | static | The current instance. |
public endBlock ( ) : static | ||
return | static | The current instance. |