PHP Class DbPatch_Command_Status

Author: Sandy Pleyte
Author: Martijn de Letter
Inheritance: extends DbPatch_Command_Abstract
Datei anzeigen Open project: dbpatch/dbpatch

Public Methods

Method Description
execute ( ) : void
showHelp ( string $command = 'status' ) : void

Protected Methods

Method 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 method

public execute ( ) : void
return void

getAppliedPatches() protected method

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

getDefaultBranch() protected method

protected getDefaultBranch ( )

getLimit() protected method

protected getLimit ( ) : integer
return integer

showChangedPatches() protected method

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

showHelp() public method

public showHelp ( string $command = 'status' ) : void
$command string
return void

showPatchesToApply() protected method

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