PHP Class SimplePackageGenerator

Inheritance: extends PackageGenerator
ファイルを表示 Open project: silverstripe/deploynaut Class Usage Examples

Protected Properties

Property Type Description
$buildScript

Public Methods

Method Description
generatePackage ( $sha, $baseDir, $outputFilename, DeploynautLogFile $log ) Generate the package
getBuildScript ( )
getIdentifier ( )
getParamMetadata ( )
setBuildScript ( $buildScript )

Protected Methods

Method Description
executeProcesses ( array $processes, DeploynautLogFile $log ) Execute an array of processes, one after the other, throwing an exception on the first failure.

Method Details

executeProcesses() protected method

Execute an array of processes, one after the other, throwing an exception on the first failure.
protected executeProcesses ( array $processes, DeploynautLogFile $log )
$processes array An array of Symfony\Component\Process\Process objects
$log DeploynautLogFile The log to send output to

generatePackage() public method

Generate the package
public generatePackage ( $sha, $baseDir, $outputFilename, DeploynautLogFile $log )
$log DeploynautLogFile

getBuildScript() public method

public getBuildScript ( )

getIdentifier() public method

public getIdentifier ( )

getParamMetadata() public method

public getParamMetadata ( )

setBuildScript() public method

public setBuildScript ( $buildScript )

Property Details

$buildScript protected_oe property

protected $buildScript