PHP Class PhpGitHooks\Module\JsonLint\Infrastructure\Tool\JsonLintProcessor

Inheritance: implements PhpGitHooks\Module\JsonLint\Model\JsonLintProcessorInterface
Afficher le fichier Open project: bruli/php-git-hooks

Méthodes publiques

Méthode Description
__construct ( ToolPathFinder $toolPathFinder ) JsonLintProcessor constructor.
process ( string $file ) : string

Private Methods

Méthode Description
execute ( string $file ) : Process
setErrors ( Process $process ) : string

Method Details

__construct() public méthode

JsonLintProcessor constructor.
public __construct ( ToolPathFinder $toolPathFinder )
$toolPathFinder PhpGitHooks\Infrastructure\Tool\ToolPathFinder

process() public méthode

public process ( string $file ) : string
$file string
Résultat string