- author Alexandre Salomé
CloneableInstantiable
| 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 = NULL
|
protected $isBinary = NULL
|
protected $newIndex = NULL
|
protected $newMode = NULL
|
protected $newName = NULL
|
protected $oldIndex = NULL
|
protected $oldMode = NULL
|
protected $oldName = NULL
|
protected $repository = NULL
|
| Methods |
public static fromArray(array $array)
|