PHP Class GrumPHP\Task\Context\GitCommitMsgContext

Inheritance: implements GrumPHP\Task\Context\ContextInterface
Mostrar archivo Open project: phpro/grumphp Class Usage Examples

Public Methods

Method Description
__construct ( FilesCollection $files, string $commitMessage, string $userName, string $userEmail )
getCommitMessage ( ) : string
getFiles ( ) : FilesCollection
getUserEmail ( ) : string
getUserName ( ) : string

Method Details

__construct() public method

public __construct ( FilesCollection $files, string $commitMessage, string $userName, string $userEmail )
$files GrumPHP\Collection\FilesCollection
$commitMessage string
$userName string
$userEmail string

getCommitMessage() public method

public getCommitMessage ( ) : string
return string

getFiles() public method

public getFiles ( ) : FilesCollection
return GrumPHP\Collection\FilesCollection

getUserEmail() public method

public getUserEmail ( ) : string
return string

getUserName() public method

public getUserName ( ) : string
return string