Class TableFormatter
Class TableFormatter
Output text in multiple columns
- splitbrain\phpcli\TableFormatter
- splitbrain\phpcli\tests\TableFormatter
Namespace: splitbrain\phpcli\tests
License: MIT
Author: Andreas Gohr andi@splitbrain.org
Located at tests/TableFormatterTest.php
License: MIT
Author: Andreas Gohr andi@splitbrain.org
Located at tests/TableFormatterTest.php
public
int[]
|
#
calculateColLengths( array $columns )
Takes an array with dynamic column width and calculates the correct width |
public
integer
|
|
public
string
|
__construct(),
format(),
getBorder(),
getMaxWidth(),
getTerminalWidth(),
pad(),
setBorder(),
setMaxWidth(),
substr()
|
$border,
$colors,
$max
|