Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / Style / SymfonyStyle / command / command_11.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 long words are properly wrapped in blocks
8 return function (InputInterface $input, OutputInterface $output) {
9     $word = 'Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon';
10     $sfStyle = new SymfonyStyleWithForcedLineLength($input, $output);
11     $sfStyle->block($word, 'CUSTOM', 'fg=white;bg=blue', ' ยง ', false);
12 };