PHP Classes

File: includes/src/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   includes/src/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php   Download  
File: includes/src/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change:
Date: 8 years ago
Size: 980 bytes
 

Contents

Class file image Download
<?php

use Symfony\Component\Console\Input\InputInterface;
use
Symfony\Component\Console\Output\OutputInterface;
use
Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;

//Ensure that all lines are aligned to the begin of the first line in a very long line block
return function (InputInterface $input, OutputInterface $output) {
   
$output = new SymfonyStyleWithForcedLineLength($input, $output);
   
$output->block(
       
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
       
'CUSTOM',
       
'fg=white;bg=green',
       
'X ',
       
true
   
);
};