HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/matomo.circ/vendor/matomo/decompress/src/DecompressInterface.php
<?php
/**
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL v3 or later
 */

namespace Matomo\Decompress;

/**
 * Interface of a class that can decompress files.
 */
interface DecompressInterface
{
    /**
     * Constructor
     *
     * @param string $filename Name of the archive
     */
    public function __construct($filename);

    /**
     * Extract files from the archive to the target directory
     *
     * @param string $pathExtracted Absolute path of target directory
     *
     * @return mixed Array of file names if successful; or 0 if an error occurred
     */
    public function extract($pathExtracted);

    /**
     * Get error description for the latest error
     *
     * @return string
     */
    public function errorInfo();
}