메소드 | 설명 | |
---|---|---|
__construct ( |
Creates a new grid. | |
addCell ( string $cell ) : static | Adds a data cell to the grid. | |
addCells ( array $cells ) : static | Adds data cells to the grid. | |
getMaxNbColumns ( ) : integer | Returns the maximum number of columns in the grid. | |
getMinNbColumns ( ) : integer | Returns the minimum number of columns in the grid. | |
render ( |
Renders the grid. | |
setCells ( array $cells ) : static | Sets the data cells in the grid. | |
setMaxNbColumns ( integer $maxNbColumns ) : static | Sets the maximum number of columns in the grid. | |
setMinNbColumns ( integer $minNbColumns ) : static | Sets the minimum number of columns in the grid. |
메소드 | 설명 | |
---|---|---|
getCellWrapper ( Webmozart\Console\Api\Formatter\Formatter $formatter, $screenWidth, $excessColumnWidth, $indentation ) | ||
renderRows ( |
public __construct ( |
||
$style | The rendering style. By default, the grid is rendered with the style {@link GridStyle::borderless()}. |
public getMaxNbColumns ( ) : integer | ||
리턴 | integer | The maximum number of columns. |
public getMinNbColumns ( ) : integer | ||
리턴 | integer | The minimum number of columns. |
public setMaxNbColumns ( integer $maxNbColumns ) : static | ||
$maxNbColumns | integer | The maximum number of columns. |
리턴 | static | The current instance. |
public setMinNbColumns ( integer $minNbColumns ) : static | ||
$minNbColumns | integer | The minimum number of columns. |
리턴 | static | The current instance. |