PHP Class PhpGitHooks\Module\Git\Service\PreCommitOutputWriter

Exibir arquivo Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( string $message ) PreCommitOutputWriter constructor.
getFailMessage ( )
getMessage ( ) : string
getSuccessfulMessage ( ) : string
setError ( string $error ) : string

Method Details

__construct() public method

PreCommitOutputWriter constructor.
public __construct ( string $message )
$message string

getFailMessage() public method

public getFailMessage ( )

getMessage() public method

public getMessage ( ) : string
return string

getSuccessfulMessage() public method

public getSuccessfulMessage ( ) : string
return string

setError() public method

public setError ( string $error ) : string
$error string
return string