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 
8 use \Magento\Framework\MessageQueue\Topology\Config\ReaderInterface;
9 
13 class Reader extends \Magento\Framework\Config\Reader\Filesystem implements ReaderInterface
14 {
18  protected $_idAttributes = [
19  '/config/exchange' => ['name', 'connection'],
20  '/config/exchange/arguments/argument' => 'name',
21  '/config/exchange/arguments/argument(/item)+' => 'name',
22  '/config/exchange/binding' => 'id',
23  '/config/exchange/binding/arguments/argument' => 'name',
24  '/config/exchange/binding/arguments/argument(/item)+' => 'name',
25  ];
26 
30  public function __construct(
31  \Magento\Framework\Config\FileResolverInterface $fileResolver,
32  Converter $converter,
33  SchemaLocator $schemaLocator,
34  \Magento\Framework\Config\ValidationStateInterface $validationState,
35  $fileName = 'queue_topology.xml',
36  $idAttributes = [],
37  $domDocumentClass = \Magento\Framework\Config\Dom::class,
38  $defaultScope = 'global'
39  ) {
40  parent::__construct(
41  $fileResolver,
42  $converter,
43  $schemaLocator,
45  $fileName,
46  $idAttributes,
47  $domDocumentClass,
48  $defaultScope
49  );
50  }
51 }
__construct(\Magento\Framework\Config\FileResolverInterface $fileResolver, Converter $converter, SchemaLocator $schemaLocator, \Magento\Framework\Config\ValidationStateInterface $validationState, $fileName='queue_topology.xml', $idAttributes=[], $domDocumentClass=\Magento\Framework\Config\Dom::class, $defaultScope='global')
Definition: Reader.php:30
$fileName
Definition: translate.phtml:15