PHP Class pharext\Task\PharBuild

Inheritance: implements pharext\Task
Show file Open project: m6w6/pharext

Public Methods

Method Description
__construct ( pharext\SourceDir $source = null, string $stub, array $meta = null, boolean $readonly = true )
run ( boolean $verbose = false ) : Tempname

Method Details

__construct() public method

public __construct ( pharext\SourceDir $source = null, string $stub, array $meta = null, boolean $readonly = true )
$source pharext\SourceDir extension source directory
$stub string path to phar stub
$meta array phar meta data
$readonly boolean whether the stub has -dphar.readonly=1 set

run() public method

public run ( boolean $verbose = false ) : Tempname
$verbose boolean
return pharext\Tempname