mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-24 20:46:22 +00:00
22 lines
411 B
Markdown
22 lines
411 B
Markdown
---
|
|
date: 2020-11-13
|
|
id: 5bae3aba-682a-4e09-b6b5-e71fabd8072d
|
|
title: horizontalTable()
|
|
---
|
|
|
|
# Syntax
|
|
|
|
``` php
|
|
use Symfony\Component\Console\Style\SymfonyStyle;
|
|
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
{
|
|
$io = new SymfonyStyle($input, $output);
|
|
$io->horizontalTable(
|
|
['ISBN', 'Title', 'Author'],
|
|
[
|
|
// ... the rows ...
|
|
]
|
|
);
|
|
}
|
|
```
|