PhpGitHooks\Module\Composer\Service\ComposerTool::executeTool PHP Метод

executeTool() приватный Метод

private executeTool ( boolean $jsonFile, boolean $lockFile, string $errorMessage )
$jsonFile boolean
$lockFile boolean
$errorMessage string
    private function executeTool($jsonFile, $lockFile, $errorMessage)
    {
        if (true === $jsonFile && false === $lockFile) {
            $this->output->writeln($this->outputMessage->getFailMessage());
            $this->output->writeln(BadJobLogoResponse::paint($errorMessage));
            throw new ComposerFilesNotFoundException();
        }
    }