Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
6 / 6
Attribute
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
6 / 6
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
6 / 6
<?php
namespace RemexHtml\Tokenizer;
use RemexHtml\PropGuard;
/**
 * A namespaced attribute, as returned by Attributes::getObjects()
 */
class Attribute {
    use PropGuard;
    public $qualifiedName;
    public $namespaceURI;
    public $prefix;
    public $localName;
    public $value;
    public function __construct( $qualifiedName, $namespaceURI, $prefix, $localName, $value ) {
        $this->qualifiedName = $qualifiedName;
        $this->namespaceURI = $namespaceURI;
        $this->prefix = $prefix;
        $this->localName = $localName;
        $this->value = $value;
    }
}