@@ -21,39 +21,42 @@ class View extends \Magento\Framework\Config\Reader\Filesystem
21
21
*/
22
22
protected $ xpath ;
23
23
24
- /**
25
- * @var Reader
26
- */
27
- private $ xsdReader ;
28
-
29
24
/**
30
25
* @param FileResolverInterface $fileResolver
31
- * @param ConverterInterface $converterInterface
32
- * @param SchemaLocatorInterface $schemaLocatorInterface
26
+ * @param ConverterInterface $converter
27
+ * @param SchemaLocatorInterface $schemaLocator
33
28
* @param ValidationStateInterface $validationState
29
+ * @param string $fileName
34
30
* @param UrnResolver $urnResolver
35
- * @param array $fileName
31
+ * @param array $idAttributes
32
+ * @param string $domDocumentClass
33
+ * @param string $defaultScope
36
34
* @param array $xpath
37
35
*/
38
36
public function __construct (
39
37
FileResolverInterface $ fileResolver ,
40
- ConverterInterface $ converterInterface ,
41
- SchemaLocatorInterface $ schemaLocatorInterface ,
38
+ ConverterInterface $ converter ,
39
+ SchemaLocatorInterface $ schemaLocator ,
42
40
ValidationStateInterface $ validationState ,
43
- UrnResolver $ urnResolver ,
44
41
$ fileName ,
42
+ UrnResolver $ urnResolver ,
43
+ $ idAttributes = [],
44
+ $ domDocumentClass = 'Magento\Framework\Config\Dom ' ,
45
+ $ defaultScope = 'global ' ,
45
46
$ xpath = []
46
47
) {
47
48
$ this ->xpath = $ xpath ;
48
49
$ this ->urnResolver = $ urnResolver ;
49
50
$ idAttributes = $ this ->_getIdAttributes ();
50
51
parent ::__construct (
51
52
$ fileResolver ,
52
- $ converterInterface ,
53
- $ schemaLocatorInterface ,
53
+ $ converter ,
54
+ $ schemaLocator ,
54
55
$ validationState ,
55
56
$ fileName ,
56
- $ idAttributes
57
+ $ idAttributes ,
58
+ $ domDocumentClass ,
59
+ $ defaultScope
57
60
);
58
61
$ this ->data = $ this ->read ();
59
62
}
0 commit comments