| 1 |
<?php |
| 2 |
declare( strict_types = 1 ); |
| 3 |
|
| 4 |
namespace Wikimedia\Parsoid\Wt2Html\DOM\Processors; |
| 5 |
|
| 6 |
use Wikimedia\Parsoid\DOM\Element; |
| 7 |
use Wikimedia\Parsoid\DOM\Node; |
| 8 |
|
| 9 |
class 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 |
} |