Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 2 |
DomAttribute | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 2 |
__toString() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getValue() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
namespace Environaut\Config\Reader\Dom; | |
/** | |
* Custom \DOMAttrib implementation with convenience methods to get attribute values. | |
*/ | |
class DomAttribute extends \DOMAttr | |
{ | |
public function __toString() | |
{ | |
return $this->getValue(); | |
} | |
public function getValue() | |
{ | |
return $this->nodeValue; | |
} | |
} |