Sha256: ce252c60b954d70c9b5e5097b64abe26d5c46c46bef25976dd5bbd94e34c0599

Contents?: true

Size: 486 Bytes

Versions: 24

Compression:

Stored size: 486 Bytes

Contents

<?php

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

//Ensure that all lines are aligned to the begin of the first line in a multi-line block
return function (InputInterface $input, OutputInterface $output) {
    $output = new SymfonyStyle($input, $output);
    $output->block(array('Custom block', 'Second custom block line'), 'CUSTOM', 'fg=white;bg=green', 'X ', true);
};

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dependabot-composer-0.106.12 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.106.11 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.106.5 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.100.2 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.36 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.19 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.13 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.11 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.10 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.7 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.6 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.98.1 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.70 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.63 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.60 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.52 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.50 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.47 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.42 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.95.40 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php