Commit
extends Coveralls
in package
Commit info.
Tags
Table of Contents
Properties
- $authorEmail : null|string
- Author email.
- $authorName : null|string
- Author name.
- $committerEmail : null|string
- Committer email.
- $committerName : null|string
- Committer name.
- $id : null|string
- Commit ID.
- $message : null|string
- Commit message.
Methods
- __toString() : string
- String expression (convert to json).
- getAuthorEmail() : null|string
- Return author email.
- getAuthorName() : null|string
- Return author name.
- getCommitterEmail() : null|string
- Return committer email.
- getCommitterName() : null|string
- Return committer name.
- getId() : null|string
- Return commit ID.
- getMessage() : null|string
- Return commit message.
- setAuthorEmail() : Commit
- Set author email.
- setAuthorName() : Commit
- Set author name.
- setCommitterEmail() : Commit
- Set committer email.
- setCommitterName() : Commit
- Set committer name.
- setId() : Commit
- Set commit ID.
- setMessage() : Commit
- Set commit message.
- toArray() : array<string|int, mixed>
- Convert to an array.
- onJsonError() : mixed
Properties
$authorEmail
Author email.
protected
null|string
$authorEmail
$authorName
Author name.
protected
null|string
$authorName
$committerEmail
Committer email.
protected
null|string
$committerEmail
$committerName
Committer name.
protected
null|string
$committerName
$id
Commit ID.
protected
null|string
$id
$message
Commit message.
protected
null|string
$message
Methods
__toString()
String expression (convert to json).
public
__toString() : string
Return values
stringgetAuthorEmail()
Return author email.
public
getAuthorEmail() : null|string
Return values
null|stringgetAuthorName()
Return author name.
public
getAuthorName() : null|string
Return values
null|stringgetCommitterEmail()
Return committer email.
public
getCommitterEmail() : null|string
Return values
null|stringgetCommitterName()
Return committer name.
public
getCommitterName() : null|string
Return values
null|stringgetId()
Return commit ID.
public
getId() : null|string
Return values
null|stringgetMessage()
Return commit message.
public
getMessage() : null|string
Return values
null|stringsetAuthorEmail()
Set author email.
public
setAuthorEmail(string $authorEmail) : Commit
Parameters
- $authorEmail : string
Return values
CommitsetAuthorName()
Set author name.
public
setAuthorName(string $authorName) : Commit
Parameters
- $authorName : string
Return values
CommitsetCommitterEmail()
Set committer email.
public
setCommitterEmail(string $committerEmail) : Commit
Parameters
- $committerEmail : string
Return values
CommitsetCommitterName()
Set committer name.
public
setCommitterName(string $committerName) : Commit
Parameters
- $committerName : string
Return values
CommitsetId()
Set commit ID.
public
setId(string $id) : Commit
Parameters
- $id : string
Return values
CommitsetMessage()
Set commit message.
public
setMessage(string $message) : Commit
Parameters
- $message : string
Return values
CommittoArray()
Convert to an array.
public
toArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>onJsonError()
protected
onJsonError() : mixed