Sha256: 78e67eef0e89f274cd2061f1ece185f82e5cf68794f658ae76dc875eca59ac94

Contents?: true

Size: 481 Bytes

Versions: 18

Compression:

Stored size: 481 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(['Custom block', 'Second custom block line'], 'CUSTOM', 'fg=white;bg=green', 'X ', true);
};

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dependabot-composer-0.119.0.beta1 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.113.19 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.112.1 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.57 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.56 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.52 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.50 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.25 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.17 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.111.15 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.110.13 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.108.11 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.108.8 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.107.47 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.107.39 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.107.36 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.107.28 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
dependabot-composer-0.107.14 helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php