Sha256: ce252c60b954d70c9b5e5097b64abe26d5c46c46bef25976dd5bbd94e34c0599
Contents?: true
Size: 486 Bytes
Versions: 24
Compression:
Stored size: 486 Bytes
Contents
<?php use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; //Ensure that all lines are aligned to the begin of the first line in a multi-line block return function (InputInterface $input, OutputInterface $output) { $output = new SymfonyStyle($input, $output); $output->block(array('Custom block', 'Second custom block line'), 'CUSTOM', 'fg=white;bg=green', 'X ', true); };
Version data entries
24 entries across 24 versions & 1 rubygems