/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/Route/Config/Reader.php
46 строк
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Routes configuration reader * * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\App\Route\Config; class Reader extends \Magento\Framework\Config\Reader\Filesystem { /** * List of paths to identifiable nodes * * @var array */ protected $_idAttributes = [ '/config/router' => 'id', '/config/router/route' => 'id', '/config/router/route/module' => 'name', ]; /** * @param \Magento\Framework\Config\FileResolverInterface $fileResolver * @param Converter $converter * @param SchemaLocator $schemaLocator * @param \Magento\Framework\Config\ValidationStateInterface $validationState * @param string $fileName */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, Converter $converter, SchemaLocator $schemaLocator, \Magento\Framework\Config\ValidationStateInterface $validationState, $fileName = 'routes.xml' ) { parent::__construct( $fileResolver, $converter, $schemaLocator, $validationState, $fileName, $this->_idAttributes ); } }