/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
setup/src/Magento/Setup/Module/Di/Code/Scanner/ArrayScanner.php
27 строк
551 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 11:23
22 окт 2025, 11:23
6c2f6e6
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Setup\Module\Di\Code\Scanner; class ArrayScanner implements ScannerInterface { /** * Scan files * * @param array $files * @return array */ public function collectEntities(array $files) { $output = []; foreach ($files as $file) { if (file_exists($file)) { $data = include $file; $output = array_merge($output, $data); } } return $output; } }