Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 4
ParsedLine
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
6
0.00% covered (danger)
0.00%
0 / 4
 __construct
0.00% covered (danger)
0.00%
0 / 1
6
0.00% covered (danger)
0.00%
0 / 4
<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Ext\Gallery;
use Wikimedia\Parsoid\DOM\Element;
class ParsedLine {
    /**
     * DOM node representing the thumbnail image.
     * @var Element
     */
    public $thumb;
    /**
     * DOM node representing the caption (if any).
     * @var ?Element
     */
    public $gallerytext;
    /**
     * The `typeof` the thumbnail image.
     * @var string
     */
    public $rdfaType;
    /**
     * Construct a new ParsedLine object.
     * @param Element $thumb
     * @param ?Element $gallerytext
     * @param string $rdfaType
     */
    public function __construct(
        Element $thumb, ?Element $gallerytext, string $rdfaType
    ) {
        $this->thumb = $thumb;
        $this->gallerytext = $gallerytext;
        $this->rdfaType = $rdfaType;
    }
}