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

Inheritance: implements PhpGitHooks\Module\JsonLint\Model\JsonLintProcessorInterface
ファイルを表示 Open project: bruli/php-git-hooks

Public Methods

Method Description
__construct ( ToolPathFinder $toolPathFinder ) JsonLintProcessor constructor.
process ( string $file ) : string

Private Methods

Method Description
execute ( string $file ) : Process
setErrors ( Process $process ) : string

Method Details

__construct() public method

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

process() public method

public process ( string $file ) : string
$file string
return string