ListBlock
in package
FinalYes
Bullet or numbered list of plain strings. Each item is rendered as one marker (bullet glyph or running number) followed by the wrapped item text.
Nested lists are a planned future extension; for now, build flat
lists and call Pdf::addList() multiple times for hand-rolled
hierarchy.
Named ListBlock (not List) to avoid colliding with PHP's reserved
list keyword.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$items read-only
public
array<string|int, mixed>
$items
$numbered read-only
public
bool
$numbered
= false
Methods
__construct()
public
__construct(array<int, string> $items[, bool $numbered = false ]) : mixed
Parameters
- $items : array<int, string>
- $numbered : bool = false