3 use Symfony\Component\Console\Input\InputInterface;
4 use Symfony\Component\Console\Output\OutputInterface;
5 use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
7 //Ensure that all lines are aligned to the begin of the first line in a multi-line block
8 return function (InputInterface $input, OutputInterface $output) {
9 $output = new SymfonyStyleWithForcedLineLength($input, $output);
10 $output->block(array('Custom block', 'Second custom block line'), 'CUSTOM', 'fg=white;bg=green', 'X ', true);