PHP Class Magestead\Service\VersionControl

Afficher le fichier Open project: richdynamix/magestead

Protected Properties

Свойство Type Description
$_output
$_projectPath
$_repoUrl

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
execute ( Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public méthode

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

addFiles() public méthode

Add all file to the GIT index
public addFiles ( )

commitFiles() public méthode

Commit the files to the repo
public commitFiles ( )

execute() protected méthode

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

init() public méthode

Initialise the GIT repo
public init ( )

pushFiles() public méthode

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