![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Filesystem/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ 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; }