PHP Class PhpGitHooks\Module\Composer\Service\ComposerTool

Datei anzeigen Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, Symfony\Component\Console\Output\OutputInterface $output ) ComposerTool constructor.
execute ( array $files, string $errorMessage )

Private Methods

Method Description
executeTool ( boolean $jsonFile, boolean $lockFile, string $errorMessage )
getComposerFilesResponse ( array $files ) : ComposerFilesResponse

Method Details

__construct() public method

ComposerTool constructor.
public __construct ( Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, Symfony\Component\Console\Output\OutputInterface $output )
$queryBus Bruli\EventBusBundle\QueryBus\QueryBus
$output Symfony\Component\Console\Output\OutputInterface

execute() public method

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