\FAA\Obj\GitTag

Summary

Methods
Properties
Constants
__construct()
$name
$annotation
$createdate
$createdateText
$message
$id
$commit
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$folder
N/A

Properties

$name

$name :string|array<mixed,string>|null

The tag name.

For example v1.0.0

Type

string|array<mixed,string>|null

$annotation

$annotation :string

The tag annotation

Type

string

$createdate

$createdate :string

The tag create date

Type

string

$createdateText

$createdateText :string

The tag create date original text

Type

string

$message

$message :string

The tag commit message

Type

string

$id

$id :string

The tag id

Type

string

$commit

$commit :string

The tag commit hash

Type

string

$folder

$folder :string

The related source folder

Type

string

Methods

__construct()

__construct(string  $str,string  $folder)

instance new tag load the tag object from parsed string

Parameters

string $str

A format %(refname:short) -%(taggerdate)- %(subject) %(body)

string $folder

Path to the respective git repo