PHP Class PhpGitHooks\Module\PhpMd\Infrastructure\Tool\PhpMdToolProcessor

Inheritance: implements PhpGitHooks\Module\PhpMd\Model\PhpMdToolProcessorInterface
Show file Open project: bruli/php-git-hooks

Public Methods

Method Description
__construct ( ToolPathFinder $toolPathFinder ) PhpMdToolProcessor constructor.
process ( string $file, string $options ) : string

Private Methods

Method Description
execute ( string $file, string $options ) : Process
setError ( Process $process ) : null | string

Method Details

__construct() public method

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

process() public method

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