PHP Class GrumPHP\Console\Command\Git\CommitMsgCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: phpro/grumphp

Protected Properties

Property Type Description
$changedFilesLocator GrumPHP\Locator\ChangedFiles
$grumPHP GrumPHP\Configuration\GrumPHP

Public Methods

Method Description
__construct ( GrumPHP $grumPHP, ChangedFiles $changedFilesLocator, Filesystem $filesystem )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void

Protected Methods

Method Description
configure ( ) Configure command
getCommittedFiles ( ConsoleIO $io ) : FilesCollection
paths ( ) : PathsHelper
taskRunner ( ) : TaskRunnerHelper

Method Details

__construct() public method

public __construct ( GrumPHP $grumPHP, ChangedFiles $changedFilesLocator, Filesystem $filesystem )
$grumPHP GrumPHP\Configuration\GrumPHP
$changedFilesLocator GrumPHP\Locator\ChangedFiles
$filesystem GrumPHP\Util\Filesystem

configure() protected method

Configure command
protected configure ( )

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer | void

getCommittedFiles() protected method

protected getCommittedFiles ( ConsoleIO $io ) : FilesCollection
$io GrumPHP\IO\ConsoleIO
return GrumPHP\Collection\FilesCollection

paths() protected method

protected paths ( ) : PathsHelper
return GrumPHP\Console\Helper\PathsHelper

taskRunner() protected method

protected taskRunner ( ) : TaskRunnerHelper
return GrumPHP\Console\Helper\TaskRunnerHelper

Property Details

$changedFilesLocator protected property

protected ChangedFiles,GrumPHP\Locator $changedFilesLocator
return GrumPHP\Locator\ChangedFiles

$grumPHP protected property

protected GrumPHP,GrumPHP\Configuration $grumPHP
return GrumPHP\Configuration\GrumPHP