Representation of a diff.
- author Alexandre Salomé
CloneableInstantiable
Methods |
public __construct(array $files, $rawDiff) Constructs a new diff for a given revision.
|
public static fromArray(array $array) Create a new instance of Diff from an array.
|
public getFiles() Get list of files modified in the diff's revision.
|
public getRawDiff() Returns the raw diff.
|
public static parse( $rawDiff)
|
public setRepository(Gitonomy |
public toArray() Export a diff as array.
|
Properties |
protected $files = NULL
|
protected $rawDiff = NULL
|
Methods |
public static fromArray(array $array) Create a new instance of Diff from an array.
|
public static parse( $rawDiff)
|