Вход Регистрация
Файл: gapps/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php
Строк: 41
<?php

use SymfonyComponentConsoleInputInputInterface;
use 
SymfonyComponentConsoleOutputOutputInterface;
use 
SymfonyComponentConsoleTestsStyleSymfonyStyleWithForcedLineLength;

// ensure long words are properly wrapped in blocks
return function (InputInterface $input, OutputInterface $output) {
    
$word = 'Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon';
    
$sfStyle = new SymfonyStyleWithForcedLineLength($input, $output);
    
$sfStyle->block($word, 'CUSTOM', 'fg=white;bg=blue', ' § ', false);
};
Онлайн: 2
Реклама