PHP Class Magestead\Service\VersionControl

Datei anzeigen Open project: richdynamix/magestead

Protected Properties

Property Type Description
$_output
$_projectPath
$_repoUrl

Public Methods

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

Protected Methods

Method Description
execute ( Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public method

VersionControl constructor.
public __construct ( $repoUrl, $projectPath, Symfony\Component\Console\Output\OutputInterface $output )
$repoUrl
$projectPath
$output Symfony\Component\Console\Output\OutputInterface

addFiles() public method

Add all file to the GIT index
public addFiles ( )

commitFiles() public method

Commit the files to the repo
public commitFiles ( )

execute() protected method

protected execute ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

init() public method

Initialise the GIT repo
public init ( )

pushFiles() public method

Push all the files to remote repo
public pushFiles ( )

Property Details

$_output protected_oe property

protected $_output

$_projectPath protected_oe property

protected $_projectPath

$_repoUrl protected_oe property

protected $_repoUrl