PHP Class PhpGitHooks\Module\Configuration\Contract\Response\PrePushResponse

Datei anzeigen Open project: bruli/php-git-hooks

Public Methods

Method Description
__construct ( boolean $prePush, string $rightMessage, string $errorMessage, PhpUnitResponse $phpUnit, PhpUnitStrictCoverageResponse $phpUnitStrictCoverage, PhpUnitGuardCoverageResponse $phpUnitGuardCoverage ) PrePushResponse constructor.
getErrorMessage ( ) : string
getPhpUnit ( ) : PhpUnitResponse
getPhpUnitGuardCoverage ( ) : PhpUnitGuardCoverageResponse
getPhpUnitStrictCoverage ( ) : PhpUnitStrictCoverageResponse
getRightMessage ( ) : string
isPrePush ( ) : boolean

Method Details

__construct() public method

PrePushResponse constructor.
public __construct ( boolean $prePush, string $rightMessage, string $errorMessage, PhpUnitResponse $phpUnit, PhpUnitStrictCoverageResponse $phpUnitStrictCoverage, PhpUnitGuardCoverageResponse $phpUnitGuardCoverage )
$prePush boolean
$rightMessage string
$errorMessage string
$phpUnit PhpUnitResponse
$phpUnitStrictCoverage PhpUnitStrictCoverageResponse
$phpUnitGuardCoverage PhpUnitGuardCoverageResponse

getErrorMessage() public method

public getErrorMessage ( ) : string
return string

getPhpUnit() public method

public getPhpUnit ( ) : PhpUnitResponse
return PhpUnitResponse

getPhpUnitGuardCoverage() public method

public getPhpUnitGuardCoverage ( ) : PhpUnitGuardCoverageResponse
return PhpUnitGuardCoverageResponse

getPhpUnitStrictCoverage() public method

public getPhpUnitStrictCoverage ( ) : PhpUnitStrictCoverageResponse
return PhpUnitStrictCoverageResponse

getRightMessage() public method

public getRightMessage ( ) : string
return string

isPrePush() public method

public isPrePush ( ) : boolean
return boolean