PHP Class PhpGitHooks\Module\PhpUnit\Service\PhpUnitToolExecutor

Show file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface $phpUnitProcessor, PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface $phpUnitRandomizerProcessor ) PhpUnitTool constructor.
execute ( string $randomMode, string $options, string $errorMessage )

Protected Methods

Method Description
executeTool ( boolean $randomMode, string $options ) : boolean

Method Details

__construct() public method

PhpUnitTool constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface $phpUnitProcessor, PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface $phpUnitRandomizerProcessor )
$output Symfony\Component\Console\Output\OutputInterface
$phpUnitProcessor PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface
$phpUnitRandomizerProcessor PhpGitHooks\Module\PhpUnit\Model\PhpUnitProcessorInterface

execute() public method

public execute ( string $randomMode, string $options, string $errorMessage )
$randomMode string
$options string
$errorMessage string

executeTool() protected method

protected executeTool ( boolean $randomMode, string $options ) : boolean
$randomMode boolean
$options string
return boolean