1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace DH\Adf\Builder; |
||
6 | |||
7 | use DH\Adf\Node\Child\TableHeader; |
||
8 | |||
9 | trait TableHeaderBuilder |
||
10 | { |
||
11 | use BuilderInterface; |
||
12 | |||
13 | public function header(?string $background = null, ?int $colspan = null, ?int $rowspan = null, ?array $colwidth = null): TableHeader |
||
14 | { |
||
15 | $block = new TableHeader($background, $colspan, $rowspan, $colwidth, $this); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
16 | $this->append($block); |
||
17 | |||
18 | return $block; |
||
19 | } |
||
20 | } |
||
21 |