PHP Class PhpGitHooks\Module\Configuration\Service\ConfigurationProcessor

Datei anzeigen Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( PhpGitHooks\Module\Configuration\Model\ConfigurationFileReaderInterface $configurationFileReader, PreCommitProcessor $preCommitProcessor, CommitMsgProcessor $commitMsgProcessor, PhpGitHooks\Module\Configuration\Model\ConfigurationFileWriterInterface $configurationFileWriter, HookCopier $hookCopier, PrePushProcessor $prePushProcessor ) ConfigurationProcessor constructor.
process ( Composer\IO\IOInterface $input )

Private Methods

Method Description
commitMsgProcess ( Config $configData ) : CommitMsg
preCommitProcess ( Config $configData ) : PreCommit
prePushProcess ( Config $configData ) : PrePush

Method Details

__construct() public method

ConfigurationProcessor constructor.
public __construct ( PhpGitHooks\Module\Configuration\Model\ConfigurationFileReaderInterface $configurationFileReader, PreCommitProcessor $preCommitProcessor, CommitMsgProcessor $commitMsgProcessor, PhpGitHooks\Module\Configuration\Model\ConfigurationFileWriterInterface $configurationFileWriter, HookCopier $hookCopier, PrePushProcessor $prePushProcessor )
$configurationFileReader PhpGitHooks\Module\Configuration\Model\ConfigurationFileReaderInterface
$preCommitProcessor PreCommitProcessor
$commitMsgProcessor CommitMsgProcessor
$configurationFileWriter PhpGitHooks\Module\Configuration\Model\ConfigurationFileWriterInterface
$hookCopier PhpGitHooks\Module\Configuration\Infrastructure\Hook\HookCopier
$prePushProcessor PrePushProcessor

process() public method

public process ( Composer\IO\IOInterface $input )
$input Composer\IO\IOInterface