listing() 공개 메소드

Formats a list.
public listing ( array $elements )
$elements array
예제 #1
0
 public function testListing()
 {
     $this->command->setCode(function (InputInterface $input, OutputInterface $output) use(&$isDecorated) {
         $io = new ConsoleIO($input, $output);
         $io->listing(['element 1']);
     });
     $this->tester->execute([], ['interactive' => false, 'decorated' => false]);
     $this->assertRegExp("/\\* element 1/", $this->tester->getDisplay(true));
 }