class CommentEvent 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
getUser()

No description

from UserTrait
int
getProjectId()

No description

array[string]
getObjectAttributes()

No description

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

string[]
getMergeRequest()

No description

string[]
getIssue()

No description

string[]
getSnippet()

No description

string[]
getTarget()

No description

bool
isWorkInProgress()

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 UserTrait at line 22
User getUser()

Return Value

User

in ProjectIdTrait at line 15
int getProjectId()

Return Value

int

in ObjectAttributesTrait at line 16
array[string] getObjectAttributes()

Return Value

array[string] Object attributes as associative array, for more information see: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#push-events

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

at line 24
string[] getMergeRequest()

Return Value

string[] Associative arrays with information about merge request or null For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#push-events

at line 34
string[] getIssue()

Return Value

string[] Associative arrays with information about issue or null For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-issue

at line 44
string[] getSnippet()

Return Value

string[] Associative arrays with information about snippet or null For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-code-snippet

at line 54
string[] getTarget()

Return Value

string[] Associative arrays with information about target or null if not merge request. For more information please visit: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#push-events

at line 62
bool isWorkInProgress()

Return Value

bool Is work in progress (true) or not (false)