mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
32 lines
564 B
Markdown
32 lines
564 B
Markdown
---
|
|
id: e745d46a-809d-4c00-ada0-c2b99d1d4007
|
|
title: Definition Lists
|
|
---
|
|
|
|
# Syntax
|
|
|
|
``` php
|
|
use Symfony\Component\Console\Helper\TableSeparator;
|
|
|
|
$io->definitionList(
|
|
['Version' => '4.4.0'],
|
|
['Long-Term Support' => 'Yes'],
|
|
new TableSeparator(),
|
|
'Timeline',
|
|
['End of maintenance' => '11/2022'],
|
|
['End of life' => '11/2023']
|
|
);
|
|
```
|
|
|
|
# Output
|
|
|
|
``` shell
|
|
-------------------- ---------
|
|
Version 4.4.0
|
|
Long-Term Support Yes
|
|
-------------------- ---------
|
|
Timeline
|
|
End of maintenance 11/2022
|
|
End of life 11/2023
|
|
-------------------- ---------
|
|
```
|