eZ\Publish\Core\FieldType\RichText\XmlBase::loadFile PHP Method

loadFile() protected method

Returns DOMDocument object loaded from given XML file $path.
protected loadFile ( string $path ) : DOMDocument
$path string
return DOMDocument
    protected function loadFile($path)
    {
        $document = new DOMDocument();
        $document->load($path);
        return $document;
    }