/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Filesystem/ExtendedDriverInterface.php
50 строк
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 2020 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\Filesystem; use Magento\Framework\Exception\FileSystemException; /** * Provides extension for Driver interface. * * @see DriverInterface * * @deprecated Method will be moved to DriverInterface * @see DriverInterface */ interface ExtendedDriverInterface extends DriverInterface { /** * Retrieve file metadata. * * Implementation must return associative array with next keys: * * ``` * [ * 'path', * 'dirname', * 'basename', * 'extension', * 'filename', * 'timestamp', * 'size', * 'mimetype', * 'extra' => [ * 'image-width', * 'image-height' * ] * ]; * * @param string $path Absolute path to file * @return array * @throws FileSystemException * * @deprecated Method will be moved to DriverInterface */ public function getMetadata(string $path): array; }