Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
WrapSectionsTplInfo
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2declare( strict_types = 1 );
3
4namespace Wikimedia\Parsoid\Wt2Html\PP\Processors;
5
6use Wikimedia\Parsoid\DOM\Element;
7use Wikimedia\Parsoid\DOM\Node;
8
9class WrapSectionsTplInfo {
10    public Element $first;
11    // FIXME: This maybe-null feels broken.
12    // This is because language variant markup is considered
13    // encapsulated content (by WTUtils helpers) right now but
14    // they may not have any about ids.
15    public ?string $about;
16    public Node $last;
17    /** @var Node[] */
18    public array $rtContentNodes = [];
19    public ?Section $firstSection;
20    public ?Section $lastSection;
21}