PHP Class FetchJob

Show file Open project: silverstripe/deploynaut Class Usage Examples

Public Properties

Property Type Description
$args

Protected Properties

Property Type Description
$log DeploynautLogFile
$project DNProject
$user string

Public Methods

Method Description
perform ( )
setUp ( )

Protected Methods

Method Description
cloneRepo ( )
fetchRepo ( )
runCommand ( string $command, string | null $workingDir = null ) Run a shell command.
updateStatus ( string $status )

Method Details

cloneRepo() protected method

protected cloneRepo ( )

fetchRepo() protected method

protected fetchRepo ( )

perform() public method

public perform ( )

runCommand() protected method

Run a shell command.
protected runCommand ( string $command, string | null $workingDir = null )
$command string The command to run
$workingDir string | null The working dir to run command in

setUp() public method

public setUp ( )

updateStatus() protected method

protected updateStatus ( string $status )
$status string

Property Details

$args public property

public $args

$log protected property

protected DeploynautLogFile $log
return DeploynautLogFile

$project protected property

protected DNProject $project
return DNProject

$user protected property

protected string $user
return string