class BuildEvent 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
getBuildId()

No description

string
getBuildStage()

No description

string
getBuildName()

No description

string|null
getBuildStatus()

No description

string|null
getBuildStartedAt()

No description

string|null
getBuildFinishedAt()

No description

string|null
getBuildDuration()

No description

bool
getBuildAllowFailure()

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 22
int getBuildId()

Return Value

int

at line 30
string getBuildStage()

Return Value

string

at line 38
string getBuildName()

Return Value

string

at line 46
string|null getBuildStatus()

Return Value

string|null

at line 54
string|null getBuildStartedAt()

Return Value

string|null

at line 62
string|null getBuildFinishedAt()

Return Value

string|null

at line 70
string|null getBuildDuration()

Return Value

string|null

at line 78
bool getBuildAllowFailure()

Return Value

bool