You are here

private function DOMNodeComparatorTest::createDOMDocument in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php \SebastianBergmann\Comparator\DOMNodeComparatorTest::createDOMDocument()
2 calls to DOMNodeComparatorTest::createDOMDocument()
DOMNodeComparatorTest::assertEqualsFailsProvider in vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php
DOMNodeComparatorTest::assertEqualsSucceedsProvider in vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php

File

vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php, line 101

Class

DOMNodeComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DOMNodeComparator

Namespace

SebastianBergmann\Comparator

Code

private function createDOMDocument($content) {
  $document = new DOMDocument();
  $document->preserveWhiteSpace = false;
  $document
    ->loadXML($content);
  return $document;
}