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
7 declare(strict_types=1);
8 
10 
14 class Reader extends \Magento\Framework\Config\Reader\Filesystem
15 {
21  protected $_idAttributes = [
22  '/services/service' => ['class', 'method'],
23  '/services/route' => ['url', 'method']
24  ];
25 
36  public function __construct(
37  \Magento\Framework\Config\FileResolverInterface $fileResolver,
38  Converter $converter,
39  SchemaLocator $schemaLocator,
40  \Magento\Framework\Config\ValidationStateInterface $validationState,
41  $fileName = 'webapi_async.xml',
42  $idAttributes = [],
43  $domDocumentClass = \Magento\Framework\Config\Dom::class,
44  $defaultScope = 'global'
45  ) {
46  parent::__construct(
47  $fileResolver,
48  $converter,
49  $schemaLocator,
51  $fileName,
52  $idAttributes,
53  $domDocumentClass,
54  $defaultScope
55  );
56  }
57 }
$fileName
Definition: translate.phtml:15
__construct(\Magento\Framework\Config\FileResolverInterface $fileResolver, Converter $converter, SchemaLocator $schemaLocator, \Magento\Framework\Config\ValidationStateInterface $validationState, $fileName='webapi_async.xml', $idAttributes=[], $domDocumentClass=\Magento\Framework\Config\Dom::class, $defaultScope='global')
Definition: Reader.php:36