[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/archive/src/ -> ExtractableInterface.php (source)

   1  <?php
   2  /**
   3   * Part of the Joomla Framework Archive Package
   4   *
   5   * @copyright  Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
   6   * @license    GNU General Public License version 2 or later; see LICENSE
   7   */
   8  
   9  namespace Joomla\Archive;
  10  
  11  /**
  12   * Archive class interface
  13   *
  14   * @since  1.0
  15   */
  16  interface ExtractableInterface
  17  {
  18      /**
  19       * Extract a compressed file to a given path
  20       *
  21       * @param   string  $archive      Path to archive to extract
  22       * @param   string  $destination  Path to extract archive to
  23       *
  24       * @return  boolean  True if successful
  25       *
  26       * @since   1.0
  27       * @throws  \RuntimeException
  28       */
  29  	public function extract($archive, $destination);
  30  
  31      /**
  32       * Tests whether this adapter can unpack files on this computer.
  33       *
  34       * @return  boolean  True if supported
  35       *
  36       * @since   1.0
  37       */
  38  	public static function isSupported();
  39  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer