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

use SymfonyComponentConsoleInputInputInterface;
use 
SymfonyComponentConsoleOutputOutputInterface;
use 
SymfonyComponentConsoleTestsStyleSymfonyStyleWithForcedLineLength;

//Ensure has proper blank line after text block when using a block like with SymfonyStyle::success
return function (InputInterface $inputOutputInterface $output) {
    
$output = new SymfonyStyleWithForcedLineLength($input$output);

    
$output->listing(array(
        
'Lorem ipsum dolor sit amet',
        
'consectetur adipiscing elit',
    ));
    
$output->success('Lorem ipsum dolor sit amet');
};
Онлайн: 0
Реклама