Pyrech\ComposerChangelogs\Outputter::createOperationOutput PHP Method

createOperationOutput() private method

private createOperationOutput ( array &$output, Composer\DependencyResolver\Operation\OperationInterface $operation ) : array | void
$output array
$operation Composer\DependencyResolver\Operation\OperationInterface
return array | void
    private function createOperationOutput(array &$output, OperationInterface $operation)
    {
        $operationHandler = $this->getOperationHandler($operation);
        if (!$operationHandler) {
            return;
        }
        $output[] = '';
        $urlGenerator = $this->getUrlGenerator($operationHandler->extractSourceUrl($operation));
        $output = array_merge($output, $operationHandler->getOutput($operation, $urlGenerator));
    }