Webmozart\Console\UI\Component\Grid::__construct PHP Méthode

__construct() public méthode

Creates a new grid.
public __construct ( GridStyle $style = null )
$style Webmozart\Console\UI\Style\GridStyle The rendering style. By default, the grid is rendered with the style {@link GridStyle::borderless()}.
    public function __construct(GridStyle $style = null)
    {
        $this->style = $style ?: GridStyle::borderless();
    }