PHP Class DNCommit

Inheritance: extends ViewableData
Datei anzeigen Open project: silverstripe/deploynaut Class Usage Examples

Protected Properties

Property Type Description
$bodyMessage string
$buildname string
$commit Gitonomy\Git\Commit
$data DNData
$name
$ownerBranchName string
$project DNProject
$references
$subjectMessage string

Public Methods

Method Description
BodyMessage ( )
Created ( ) : SS_Datetime
CurrentlyDeployedTo ( ) : ArrayList
EverDeployedTo ( string $environmentName ) : boolean
Filename ( ) : string
FullName ( ) : string
Name ( ) : string Return the hash of the commit, used to name this commit.
References ( ) : ArrayList
SHA ( ) : string Return the full SHA of the commit.
SubjectMessage ( ) : string Return the first line of the commit message.
__construct ( Gitonomy\Git\Commit $commit, DNProject $project, DNData $data, string | null $ownerBranchName = null )

Method Details

BodyMessage() public method

public BodyMessage ( )

Created() public method

public Created ( ) : SS_Datetime
return SS_Datetime

CurrentlyDeployedTo() public method

public CurrentlyDeployedTo ( ) : ArrayList
return ArrayList

EverDeployedTo() public method

public EverDeployedTo ( string $environmentName ) : boolean
$environmentName string
return boolean True if this release has ever been deployed to the given environment

Filename() public method

public Filename ( ) : string
return string

FullName() public method

public FullName ( ) : string
return string

Name() public method

Return the hash of the commit, used to name this commit.
public Name ( ) : string
return string

References() public method

public References ( ) : ArrayList
return ArrayList

SHA() public method

Return the full SHA of the commit.
public SHA ( ) : string
return string

SubjectMessage() public method

Return the first line of the commit message.
public SubjectMessage ( ) : string
return string

__construct() public method

public __construct ( Gitonomy\Git\Commit $commit, DNProject $project, DNData $data, string | null $ownerBranchName = null )
$commit Gitonomy\Git\Commit
$project DNProject
$data DNData
$ownerBranchName string | null

Property Details

$bodyMessage protected_oe property

protected string $bodyMessage
return string

$buildname protected_oe property

protected string $buildname
return string

$commit protected_oe property

protected Gitonomy\Git\Commit $commit
return Gitonomy\Git\Commit

$data protected_oe property

protected DNData $data
return DNData

$name protected_oe property

protected $name

$ownerBranchName protected_oe property

protected string $ownerBranchName
return string

$project protected_oe property

protected DNProject $project
return DNProject

$references protected_oe property

protected $references

$subjectMessage protected_oe property

protected string $subjectMessage
return string