Метод | Описание | |
---|---|---|
buildFromString ( $rawCommit, $rawStatus ) : |
Creates instance from string matching pattern:
is record separator character (ascii ordinary number 30) |
|
getAuthorEmail ( ) : string | ||
getAuthorName ( ) : string | ||
getChangedFiles ( ) : array | ||
getDate ( ) : DateTime | ||
getHash ( ) : string | ||
getMessage ( ) : |
||
getParentHashes ( ) : string[] | ||
getRelativeDate ( ) : string | ||
getShortHash ( ) : string | Short hash - first 7 characters. | |
isMerge ( ) : boolean |
public static buildFromString ( $rawCommit, $rawStatus ) : |
||
$rawCommit | string | |
$rawStatus | string | |
Результат |
public getChangedFiles ( ) : array | ||
Результат | array | Array of things like `array("status" => "M", "path" => "wp-content/vpdb/something.ini" )` |
public getShortHash ( ) : string | ||
Результат | string |