class JobEvent extends Event

Traits

Methods

__construct($data)

No description

from Event
array
getData()

No description

from Event
string
getObjectKind()

No description

from Event
mixed
getRootAttribute($name)

No description

from Event
getRepository()

No description

from Event
getProject()

No description

from Event
null|Commit
getCommit()

Information about commit or null if not for commit For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-commit

int
getProjectId()

No description

string
getRef()

No description

from RefTrait
getUser()

No description

from UserTrait
int
getJobId()

No description

string
getJobStage()

No description

string
getJobName()

No description

string|null
getJobStatus()

No description

string|null
getJobStartedAt()

No description

string|null
getJobFinishedAt()

No description

string|null
getJobDuration()

No description

bool
getJobAllowFailure()

No description

Details

in Event at line 30
__construct($data)

Parameters

$data

in Event at line 38
protected array getData()

Return Value

array

in Event at line 46
string getObjectKind()

Return Value

string Kind of object wrapped into PHP object

in Event at line 55
protected mixed getRootAttribute($name)

Parameters

$name string Index for data in array

Return Value

mixed Value

in Event at line 63
Repository getRepository()

Return Value

Repository

in Event at line 84
Project getProject()

Return Value

Project

in CommitTrait at line 26
null|Commit getCommit()

Information about commit or null if not for commit For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-commit

Return Value

null|Commit

in ProjectIdTrait at line 15
int getProjectId()

Return Value

int

in RefTrait at line 15
string getRef()

Return Value

string Get git ref for event

in UserTrait at line 22
User getUser()

Return Value

User

at line 18
int getJobId()

Return Value

int

at line 26
string getJobStage()

Return Value

string

at line 34
string getJobName()

Return Value

string

at line 42
string|null getJobStatus()

Return Value

string|null

at line 50
string|null getJobStartedAt()

Return Value

string|null

at line 58
string|null getJobFinishedAt()

Return Value

string|null

at line 66
string|null getJobDuration()

Return Value

string|null

at line 74
bool getJobAllowFailure()

Return Value

bool