Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Reader.php
Go to the documentation of this file.
1 <?php
9 
12 
13 class Reader extends \Magento\Framework\Config\Reader\Filesystem
14 {
20  protected $_idAttributes = ['/config/template' => 'id'];
21 
32  public function __construct(
33  FileResolverInterface $fileResolver,
34  Converter $converter,
35  SchemaLocator $schemaLocator,
37  $fileName = 'email_templates.xml',
38  $idAttributes = [],
39  $domDocumentClass = \Magento\Framework\Config\Dom::class,
40  $defaultScope = 'global'
41  ) {
42  parent::__construct(
43  $fileResolver,
44  $converter,
45  $schemaLocator,
47  $fileName,
48  $idAttributes,
49  $domDocumentClass,
50  $defaultScope
51  );
52  }
53 }
__construct(FileResolverInterface $fileResolver, Converter $converter, SchemaLocator $schemaLocator, ValidationStateInterface $validationState, $fileName='email_templates.xml', $idAttributes=[], $domDocumentClass=\Magento\Framework\Config\Dom::class, $defaultScope='global')
Definition: Reader.php:32
$fileName
Definition: translate.phtml:15