class PushEvent 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
string
getBefore()

No description

mixed
getAfter()

No description

string
getRef()

No description

from RefTrait
string
getCheckoutSha()

No description

int
getUserId()

No description

string
getUserName()

No description

string
getUserAvatar()

No description

int
getProjectId()

No description

array|Commit[]
getCommits()

No description

int
getTotalCommitCount()

No description

string
getUserEmail()

No description

string
getUserRealName()

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 BeforeAfterTrait at line 15
string getBefore()

Return Value

string Previous hash

in BeforeAfterTrait at line 23
mixed getAfter()

Return Value

mixed Next hash

in RefTrait at line 15
string getRef()

Return Value

string Get git ref for event

in CheckoutShaTrait at line 15
string getCheckoutSha()

Return Value

string Checkout sha checksum

int getUserId()

Return Value

int

string getUserName()

Return Value

string

string getUserAvatar()

Return Value

string

in ProjectIdTrait at line 15
int getProjectId()

Return Value

int

at line 30
array|Commit[] getCommits()

Return Value

array|Commit[]

at line 59
int getTotalCommitCount()

Return Value

int Number of total commits

at line 67
string getUserEmail()

Return Value

string

at line 75
string getUserRealName()

Return Value

string