Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 4 |
CDATASection | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 4 |
getNodeType | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
getNodeName | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
declare( strict_types = 1 ); | |
namespace Wikimedia\Dodo; | |
class CDATASection extends Text implements \Wikimedia\IDLeDOM\CDATASection { | |
// Stub out methods not yet implemented. | |
use \Wikimedia\IDLeDOM\Stub\CDATASection; | |
use UnimplementedTrait; | |
// Helper functions from IDLeDOM | |
use \Wikimedia\IDLeDOM\Helper\CDATASection; | |
/** | |
* @inheritDoc | |
*/ | |
final public function getNodeType() : int { | |
return Node::CDATA_SECTION_NODE; | |
} | |
/** | |
* @inheritDoc | |
*/ | |
public function getNodeName() : string { | |
return "#cdata-section"; | |
} | |
} |