PHP Class pharext\Packager

Inheritance: implements pharext\Command, use trait pharext\Cli\Command
Show file Open project: m6w6/pharext

Public Methods

Method Description
__construct ( ) Create the command
__destruct ( ) Perform cleaniup
run ( $argc, array $argv )

Private Methods

Method Description
createPackage ( ) Creates the extension phar
download ( string $source ) : string Download remote source
extract ( stirng $source ) : string Extract local archive
loadSource ( ) Load the source dir
localize ( string $source ) : string Localize a possibly remote source

Method Details

__construct() public method

Create the command
public __construct ( )

__destruct() public method

Perform cleaniup
public __destruct ( )

run() public method

See also: pharext\Command::run()
public run ( $argc, array $argv )
$argv array