Commit
in package
Table of Contents
- $author : string|null
- Buffer for author name and mail
- $folder : string|null
- Folder to related files
- $message : string|null
- The commit message
- $parents : array<string|int, mixed>|null
- Parents of this commit
- $ref : string|null
- The reference base string
- __construct() : mixed
- Instance new tag
- Author() : string|null
- Get commit author
- Message() : string|null
- Get comit message
- Parents() : array<string|int, Commit>
- Get list of parents
Properties
$author
Buffer for author name and mail
public
string|null
$author
= null
$folder
Folder to related files
public
string|null
$folder
= null
$message
The commit message
public
string|null
$message
= null
$parents
Parents of this commit
public
array<string|int, mixed>|null
$parents
= null
$ref
The reference base string
public
string|null
$ref
= null
Methods
__construct()
Instance new tag
public
__construct(string $ref, string $folder) : mixed
load the tag object from parsed string
Parameters
- $ref : string
-
A git ref
- $folder : string
-
Path to the respective git repo
Return values
mixed —Author()
Get commit author
public
Author() : string|null
Return values
string|null —Message()
Get comit message
public
Message() : string|null
Return values
string|null —Parents()
Get list of parents
public
Parents() : array<string|int, Commit>