/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/View/Design/Theme/FileInterface.php
94 строки
2 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\Design\Theme; /** * Theme file interface * * @api */ interface FileInterface { /** * Set customization service model * * @param Customization\FileInterface $service * @return $this */ public function setCustomizationService(Customization\FileInterface $service); /** * Get customization service model * * @return \Magento\Framework\View\Design\Theme\Customization\FileInterface */ public function getCustomizationService(); /** * Attaches selected theme to current file * * @param \Magento\Framework\View\Design\ThemeInterface $theme * @return $this */ public function setTheme(\Magento\Framework\View\Design\ThemeInterface $theme); /** * Get theme model * * @return \Magento\Framework\View\Design\ThemeInterface */ public function getTheme(); /** * Set filename of custom file * * @param string $fileName * @return $this */ public function setFileName($fileName); /** * Get filename of custom file * * @return string|null */ public function getFileName(); /** * Return absolute path to file of customization * * @return string */ public function getFullPath(); /** * Get short file information which can be serialized * * @return array */ public function getFileInfo(); /** * Get content of current file * * @return string */ public function getContent(); /** * Save custom file * * @return $this */ public function save(); /** * Delete custom file * * @return $this */ public function delete(); }