<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Interface for work with archives * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Framework\Archive; /** * @api * @since 100.0.2 */ interface ArchiveInterface { /** * Pack file or directory. * * @param string $source * @param string $destination * @return string */ public function pack($source, $destination); /** * Unpack file or directory. * * @param string $source * @param string $destination * @return string */ public function unpack($source, $destination); }