/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/DefaultPath/DefaultPath.php
37 строк
637 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Application default url * * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\App\DefaultPath; class DefaultPath implements \Magento\Framework\App\DefaultPathInterface { /** * Default path parts * * @var array */ protected $_parts; /** * @param array $parts */ public function __construct(array $parts) { $this->_parts = $parts; } /** * Retrieve path part by key * * @param string $code * @return string */ public function getPart($code) { return $this->_parts[$code] ?? null; } }