Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / Style / SymfonyStyle / command / command_2.php
1 <?php
2
3 use Symfony\Component\Console\Input\InputInterface;
4 use Symfony\Component\Console\Output\OutputInterface;
5 use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
6
7 //Ensure has single blank line between blocks
8 return function (InputInterface $input, OutputInterface $output) {
9     $output = new SymfonyStyleWithForcedLineLength($input, $output);
10     $output->warning('Warning');
11     $output->caution('Caution');
12     $output->error('Error');
13     $output->success('Success');
14     $output->note('Note');
15     $output->block('Custom block', 'CUSTOM', 'fg=white;bg=green', 'X ', true);
16 };