PHP Class DbPatch_Command_Status

Author: Sandy Pleyte
Author: Martijn de Letter
Inheritance: extends DbPatch_Command_Abstract
Afficher le fichier Open project: dbpatch/dbpatch

Méthodes publiques

Méthode Description
execute ( ) : void
showHelp ( string $command = 'status' ) : void

Méthodes protégées

Méthode Description
getAppliedPatches ( string $branch = '' ) : array Get list of patches that are applied
getDefaultBranch ( )
getLimit ( ) : integer
showChangedPatches ( array $patches ) : void Show patches that have been changed since they are applied
showPatchesToApply ( string $branch ) Output all the patches to apply for a specific branch

Method Details

execute() public méthode

public execute ( ) : void
Résultat void

getAppliedPatches() protected méthode

Get list of patches that are applied
protected getAppliedPatches ( string $branch = '' ) : array
$branch string
Résultat array

getDefaultBranch() protected méthode

protected getDefaultBranch ( )

getLimit() protected méthode

protected getLimit ( ) : integer
Résultat integer

showChangedPatches() protected méthode

Show patches that have been changed since they are applied
protected showChangedPatches ( array $patches ) : void
$patches array
Résultat void

showHelp() public méthode

public showHelp ( string $command = 'status' ) : void
$command string
Résultat void

showPatchesToApply() protected méthode

Output all the patches to apply for a specific branch
protected showPatchesToApply ( string $branch )
$branch string return void