Item
class Item extends Model
Item
Ein Item bildet die Details einer für das Build relevanten Änderung am Quelltext ab.
Properties
Directory> | $affectedPaths | ||
User | $author | ||
integer | $commitId | ||
integer | $timestamp | ||
DateTime | $date | ||
string | $msg | ||
Path> | $paths | ||
integer | $revision | ||
User | $user |
Methods
__construct()
Neues Objekt
Directory>
getAffectedPaths()
Pfad
integer
getCommitId()
Commit ID
integer
getTimestamp()
Zeitstempel
DateTime
getDate()
Datum
string
getMsg()
Meldung
Path>
getPaths()
Pfade
integer
getRevision()
getRevision
Item
setAffectedPaths(Collection $affectedPaths)
Betroffene Pfade setzen
Item
setCommitId(integer $commitId)
Commit-ID
Item
setTimestamp(integer $timestamp)
Zeitstempel
Item
setDate(DateTime $date)
Datum
Item
setMsg(string $msg)
Meldung
Item
setPaths(Collection $paths)
Pfade
Item
setRevision(integer $revision)
Revision
static Item
getInstanceFromArray(Array $array)
Instanz aus einem Array erstellen
Details
in Model at line 45
static Model
getInstanceFromJson(string $json)
Instanz aus einem JSON-String erstellen
at line 88
__construct()
Neues Objekt
at line 100
Directory>
getAffectedPaths()
Pfad
at line 109
User
getAuthor()
Autor
at line 118
integer
getCommitId()
Commit ID
at line 127
integer
getTimestamp()
Zeitstempel
at line 136
DateTime
getDate()
Datum
at line 145
string
getMsg()
Meldung
at line 154
Path>
getPaths()
Pfade
at line 163
integer
getRevision()
getRevision
at line 172
User
getUser()
Benutzer
at line 183
Item
setAffectedPaths(Collection $affectedPaths)
Betroffene Pfade setzen
at line 195
Item
setAuthor(User $author)
Autor
at line 207
Item
setCommitId(integer $commitId)
Commit-ID
at line 219
Item
setTimestamp(integer $timestamp)
Zeitstempel
at line 231
Item
setDate(DateTime $date)
Datum
at line 243
Item
setMsg(string $msg)
Meldung
at line 255
Item
setPaths(Collection $paths)
Pfade
at line 267
Item
setRevision(integer $revision)
Revision
at line 279
Item
setUser(User $user)
Benutzer
at line 291
static Item
getInstanceFromArray(Array $array)
Instanz aus einem Array erstellen