/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/View/Asset/LocalInterface.php
60 строк
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\View\Asset; /** * Interface of an asset with locally accessible source file * @api * @since 100.0.2 */ interface LocalInterface extends AssetInterface { /** * Get original source file where the asset contents can be read from * * Returns absolute path to file in local file system * * @return string */ public function getSourceFile(); /** * Get content of a local asset * * @return string */ public function getContent(); /** * Get an invariant relative path to file * * @return string */ public function getFilePath(); /** * Get context of the asset that contains data necessary to build an absolute path or URL to the file * * @return ContextInterface */ public function getContext(); /** * Get the module context of file path * * @return string */ public function getModule(); /** * Get a relative "context" path to the asset file * * This path includes both invariant and context part that can serve as an identifier of the file in current context * * @return string */ public function getPath(); }