Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
CompoundTemplateInfo | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace Wikimedia\Parsoid\Wt2Html\DOM\Processors; |
5 | |
6 | use Wikimedia\Parsoid\Core\DomSourceRange; |
7 | use Wikimedia\Parsoid\NodeData\TemplateInfo; |
8 | |
9 | class CompoundTemplateInfo { |
10 | /** @var DomSourceRange */ |
11 | public $dsr; |
12 | |
13 | /** @var TemplateInfo */ |
14 | public $info; |
15 | |
16 | /** @var bool */ |
17 | public $isParam; |
18 | |
19 | public function __construct( DomSourceRange $dsr, TemplateInfo $info, bool $isParam ) { |
20 | $this->dsr = $dsr; |
21 | $this->info = $info; |
22 | $this->isParam = $isParam; |
23 | } |
24 | } |