/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Customer/Model/FileResolverStub.php
21 строка
641 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Customer\Model; class FileResolverStub implements \Magento\Framework\Config\FileResolverInterface { /** * {@inheritdoc} */ public function get($filename, $scope) { $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager(); $fileReadFactory = $objectManager->create(\Magento\Framework\Filesystem\File\ReadFactory::class); $paths = [realpath(__DIR__ . '/../_files/etc/') . '/extension_attributes.xml']; return new \Magento\Framework\Config\FileIterator($fileReadFactory, $paths); } }