| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class XmlSchemaValidator implements SchemaValidatorInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $schemaLocation; |
||
| 13 | |||
| 14 | 2 | public function __construct(string $schemaLocation) |
|
| 17 | 2 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | 2 | public function validate(string $xmlString): ValidationResult |
|
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $xmlString |
||
| 51 | * |
||
| 52 | * @return \DOMDocument |
||
| 53 | */ |
||
| 54 | 2 | protected function createDOMDocument(string $xmlString): \DOMDocument |
|
| 66 |