Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
XMLNode
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace MediaWiki\Extension\Math\WikiTexVC;
3
4/**
5 * This is a helper class for MMLComparator currently
6 * to load MathML Strings to PHP objects.
7 */
8class XMLNode {
9    /** @var mixed */
10    public $value;
11    /** @var self[] */
12    public $children;
13
14    public function __construct( $value ) {
15        $this->value = $value;
16        $this->children = [];
17    }
18}