Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ArchiveInterface Interface Reference
Inheritance diagram for ArchiveInterface:
Bz Gz Tar Zip Tar

Public Member Functions

 pack ($source, $destination)
 
 unpack ($source, $destination)
 

Detailed Description

@api

Since
100.0.2

Definition at line 18 of file ArchiveInterface.php.

Member Function Documentation

◆ pack()

pack (   $source,
  $destination 
)

Pack file or directory.

Parameters
string$source
string$destination
Returns
string

Implemented in Zip, Bz, and Gz.

◆ unpack()

unpack (   $source,
  $destination 
)

Unpack file or directory.

Parameters
string$source
string$destination
Returns
string

Implemented in Tar, Zip, Bz, and Gz.


The documentation for this interface was generated from the following file: