PHP Class PhpGitHooks\Module\PhpLint\Service\PhpLintTool

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

Public Methods

Method Description
__construct ( PhpGitHooks\Module\PhpLint\Model\PhpLintToolProcessorInterface $phpLintTool, Symfony\Component\Console\Output\OutputInterface $output ) PhpLintTool constructor.
execute ( array $files, string $errorMessage )

Method Details

__construct() public method

PhpLintTool constructor.
public __construct ( PhpGitHooks\Module\PhpLint\Model\PhpLintToolProcessorInterface $phpLintTool, Symfony\Component\Console\Output\OutputInterface $output )
$phpLintTool PhpGitHooks\Module\PhpLint\Model\PhpLintToolProcessorInterface
$output Symfony\Component\Console\Output\OutputInterface

execute() public method

public execute ( array $files, string $errorMessage )
$files array
$errorMessage string