PHP Class pharext\Updater

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

Public Methods

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

Private Methods

Method Description
replacePharext ( string $temp ) : boolean Replace the pharext core in an .ext.phar package
updatePackage ( SplFileInfo $file, Phar $phar = null ) : boolean Update an .ext.phar package to the current pharext version

Method Details

__construct() public method

Create the command
public __construct ( )

run() public method

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