Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / Style / SymfonyStyle / command / command_6.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 proper blank line after text block when using a block like with SymfonyStyle::success
8 return function (InputInterface $input, OutputInterface $output) {
9     $output = new SymfonyStyleWithForcedLineLength($input, $output);
10
11     $output->listing(array(
12         'Lorem ipsum dolor sit amet',
13         'consectetur adipiscing elit',
14     ));
15     $output->success('Lorem ipsum dolor sit amet');
16 };