Skip to content

Commit

Permalink
#29528: Fix for communication.xml Handlers merging processs.
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Foxtrot committed Sep 9, 2020
1 parent 8e054c7 commit e7cde72
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
*/
namespace Magento\Framework\Communication\Config\Reader;

use Magento\Framework\Config\Dom;
use Magento\Framework\Config\FileResolverInterface;
use Magento\Framework\Config\ValidationStateInterface;

/**
* Communication configuration filesystem reader. Reads data from XML configs.
*/
Expand All @@ -19,4 +23,38 @@ class XmlReader extends \Magento\Framework\Config\Reader\Filesystem
'/config/topic' => 'name',
'/config/topic/handler' => 'name'
];

/**
* @param FileResolverInterface $fileResolver
* @param XmlReader\Converter $converter
* @param XmlReader\SchemaLocator $schemaLocator
* @param ValidationStateInterface $validationState
* @param string $fileName
* @param array $idAttributes
* @param string $domDocumentClass
* @param string $defaultScope
* phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod
*/
public function __construct(
FileResolverInterface $fileResolver,
XmlReader\Converter $converter,
XmlReader\SchemaLocator $schemaLocator,
ValidationStateInterface $validationState,
$fileName = 'communication.xml',
$idAttributes = [],
$domDocumentClass = Dom::class,
$defaultScope = 'global'
) {
parent::__construct(
$fileResolver,
$converter,
$schemaLocator,
$validationState,
$fileName,
$idAttributes,
$domDocumentClass,
$defaultScope
);
}
//phpcs:enable Generic.CodeAnalysis.UselessOverridingMethod
}

0 comments on commit e7cde72

Please sign in to comment.