| Current Path : /var/www/www.indacotrentino.com/www/vendor/magento/module-email/Model/Template/Config/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/magento/module-email/Model/Template/Config/Reader.php |
<?php
/**
* Loads email template configuration from multiple XML files by merging them together
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Email\Model\Template\Config;
use Magento\Framework\Config\FileResolverInterface;
use Magento\Framework\Config\ValidationStateInterface;
class Reader extends \Magento\Framework\Config\Reader\Filesystem
{
/**
* List of id attributes for merge
*
* @var array
*/
protected $_idAttributes = ['/config/template' => 'id'];
/**
* @param FileResolverInterface $fileResolver
* @param Converter $converter
* @param SchemaLocator $schemaLocator
* @param ValidationStateInterface $validationState
* @param string $fileName
* @param array $idAttributes
* @param string $domDocumentClass
* @param string $defaultScope
*/
public function __construct(
FileResolverInterface $fileResolver,
Converter $converter,
SchemaLocator $schemaLocator,
ValidationStateInterface $validationState,
$fileName = 'email_templates.xml',
$idAttributes = [],
$domDocumentClass = \Magento\Framework\Config\Dom::class,
$defaultScope = 'global'
) {
parent::__construct(
$fileResolver,
$converter,
$schemaLocator,
$validationState,
$fileName,
$idAttributes,
$domDocumentClass,
$defaultScope
);
}
}