Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| Marker | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | declare( strict_types = 1 ); |
| 3 | |
| 4 | namespace Wikimedia\RemexHtml\TreeBuilder; |
| 5 | |
| 6 | use Wikimedia\RemexHtml\PropGuard; |
| 7 | |
| 8 | /** |
| 9 | * A pseudo-element used as a marker or bookmark in the list of active formatting elements |
| 10 | */ |
| 11 | class Marker implements FormattingElement { |
| 12 | use PropGuard; |
| 13 | |
| 14 | /** @var self|null */ |
| 15 | public $nextAFE; |
| 16 | /** @var self|null */ |
| 17 | public $prevAFE; |
| 18 | /** @var self|Element|null */ |
| 19 | public $nextNoah; |
| 20 | /** @var string */ |
| 21 | public $type; |
| 22 | |
| 23 | public function __construct( string $type ) { |
| 24 | $this->type = $type; |
| 25 | } |
| 26 | } |