Property | Type | Description | |
---|---|---|---|
$_output | |||
$_projectPath | |||
$_repoUrl |
Method | Description | |
---|---|---|
__construct ( $repoUrl, $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) | VersionControl constructor. | |
addFiles ( ) | Add all file to the GIT index | |
commitFiles ( ) | Commit the files to the repo | |
init ( ) | Initialise the GIT repo | |
pushFiles ( ) | Push all the files to remote repo |
Method | Description | |
---|---|---|
execute ( Symfony\Component\Console\Output\OutputInterface $output ) |
public __construct ( $repoUrl, $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$repoUrl | ||
$projectPath | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected execute ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |