PHP Class PhpGitHooks\Module\Git\Contract\CommandHandler\CommitMsgCommandHandler

Inheritance: implements Bruli\EventBusBundle\CommandBus\CommandHandlerInterface
Show file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( CommitMsgTool $commitMsgTool ) CommitMsgCommandHandler constructor.
handle ( Bruli\EventBusBundle\CommandBus\CommandInterface $command )

Method Details

__construct() public method

CommitMsgCommandHandler constructor.
public __construct ( CommitMsgTool $commitMsgTool )
$commitMsgTool PhpGitHooks\Module\Git\Service\CommitMsgTool

handle() public method

public handle ( Bruli\EventBusBundle\CommandBus\CommandInterface $command )
$command Bruli\EventBusBundle\CommandBus\CommandInterface