
| Current Path : /var/www/html1/ift-informatik.de_drupal9/vendor/alchemy/zippy/src/Parser/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/ift-informatik.de_drupal9/vendor/alchemy/zippy/src/Parser/ParserInterface.php |
<?php
/*
* This file is part of Zippy.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Zippy\Parser;
use Alchemy\Zippy\Exception\RuntimeException;
interface ParserInterface
{
/**
* Parses a file listing
*
* @param string $output The string to parse
*
* @return array An array of Member properties (location, mtime, size & is_dir)
*
* @throws RuntimeException In case the parsing process failed
*/
public function parseFileListing($output);
/**
* Parses the inflator binary version
*
* @param string $output
*
* @return string The version
*/
public function parseInflatorVersion($output);
/**
* Parses the deflator binary version
*
* @param string $output
*
* @return string The version
*/
public function parseDeflatorVersion($output);
}