PHP Class WP_CLI\Extractor

Afficher le fichier Open project: wp-cli/wp-cli Class Usage Examples

Méthodes publiques

Méthode Description
copy_overwrite_files ( $source, $dest )
extract ( $tarball_or_zip, string $dest ) Extract the archive file to a specific destination.
rmdir ( $dir )

Private Methods

Méthode Description
extract_tarball ( string $tarball, string $dest ) Extract a tarball to a specific destination.
extract_zip ( string $zipfile, string $dest ) Extract a ZIP file to a specific destination.

Method Details

copy_overwrite_files() public static méthode

public static copy_overwrite_files ( $source, $dest )

extract() public static méthode

Extract the archive file to a specific destination.
public static extract ( $tarball_or_zip, string $dest )
$dest string

rmdir() public static méthode

public static rmdir ( $dir )