- author Alexandre Salomé
Cloneable
Instantiable
Methods |
public
__construct
(
$oldName
,
$newName
,
$oldMode
,
$newMode
,
$oldIndex
,
$newIndex
,
$isBinary
) Instanciates a new File object. |
public
addChange
(
Gitonomy |
public static fromArray ( array $array ) |
public
getAdditions
()
|
public getAnchor () |
public getChanges () |
public
getDeletions
()
|
public getName () |
public getNewBlob () |
public getNewIndex () |
public getNewMode () |
public getNewName () |
public getOldBlob () |
public getOldIndex () |
public getOldMode () |
public getOldName () |
public getRepository () |
public isBinary () |
public
isChangeMode
() Indicates if the file mode has changed. |
public
isCreation
() Indicates if this diff file is a creation.
|
public
isDelete
() Indicates if this diff file is a deletion.
|
public
isDeletion
() Indicates if this diff file is a deletion.
|
public
isModification
() Indicates if this diff file is a modification.
|
public
isRename
() Indicates if it's a rename. A rename can only occurs if it's a modification (not a creation or a deletion).
|
public
setRepository
(
Gitonomy |
public toArray () |
Properties |
protected
$changes
|
protected
$isBinary
|
protected
$newIndex
|
protected
$newMode
|
protected
$newName
|
protected
$oldIndex
|
protected
$oldMode
|
protected
$oldName
|
protected
$repository
|
Methods |
public static fromArray ( array $array ) |