PHP Class PhpGitHooks\Module\JsonLint\Service\JsonLintTool

Afficher le fichier Open project: bruli/php-git-hooks Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( JsonLintToolExecutor $jsonLintToolExecutor, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus ) JsonLintTool constructor.
execute ( array $files, string $errorMessage )

Private Methods

Méthode Description
jsonFilesExists ( array $files ) : boolean

Method Details

__construct() public méthode

JsonLintTool constructor.
public __construct ( JsonLintToolExecutor $jsonLintToolExecutor, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus )
$jsonLintToolExecutor JsonLintToolExecutor
$queryBus Bruli\EventBusBundle\QueryBus\QueryBus

execute() public méthode

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