Documentation

TextGrid
in package

Table of Contents

Properties

$columns  : array<string|int, string>
$matrix  : array<string|int, array<string|int, mixed>>
$rows  : array<string|int, int>

Methods

__construct()  : mixed
render()  : string
getString()  : string
strlen()  : int

Properties

$columns

protected array<string|int, string> $columns

$matrix

protected array<string|int, array<string|int, mixed>> $matrix

$rows

protected array<string|int, int> $rows

Methods

__construct()

public __construct(array<string|int, array<string|int, mixed>> $matrix[, bool $isCli = true ][, bool $rowDividers = false ][, bool $rowHeaders = true ][, bool $columnHeaders = true ]) : mixed
Parameters
$matrix : array<string|int, array<string|int, mixed>>
$isCli : bool = true
$rowDividers : bool = false
$rowHeaders : bool = true
$columnHeaders : bool = true

render()

public render() : string
Return values
string

getString()

protected getString(mixed $value) : string
Parameters
$value : mixed
Return values
string

strlen()

protected strlen(string $value) : int
Parameters
$value : string
Return values
int

        
On this page

Search results