@@ -65,6 +65,8 @@ You can add a table separator anywhere in the output by passing an instance of
65
65
['80-902734-1-6', 'And Then There Were None', 'Agatha Christie'],
66
66
]);
67
67
68
+ This outputs:
69
+
68
70
.. code-block :: terminal
69
71
70
72
+---------------+--------------------------+------------------+
@@ -87,6 +89,8 @@ You can optionally display titles at the top and the bottom of the table::
87
89
$table->setFooterTitle('Page 1/2');
88
90
$table->render();
89
91
92
+ This outputs:
93
+
90
94
.. code-block :: terminal
91
95
92
96
+---------------+----------- Books --------+------------------+
@@ -124,7 +128,7 @@ argument is the column width::
124
128
$table->setColumnWidth(2, 30);
125
129
$table->render();
126
130
127
- The output of this command will be :
131
+ This outputs :
128
132
129
133
.. code-block :: terminal
130
134
@@ -151,7 +155,7 @@ If you prefer to wrap long contents in multiple rows, use the
151
155
$table->setColumnMaxWidth(1, 10);
152
156
$table->render();
153
157
154
- The output of this command will be :
158
+ This outputs :
155
159
156
160
.. code-block :: terminal
157
161
@@ -174,7 +178,7 @@ via the :method:`Symfony\\Component\\Console\\Helper\\Table::setVertical` method
174
178
$table->setVertical();
175
179
$table->render();
176
180
177
- The output of this command will be :
181
+ This outputs :
178
182
179
183
.. code-block :: terminal
180
184
@@ -366,7 +370,7 @@ To make a table cell that spans multiple columns you can use a :class:`Symfony\\
366
370
;
367
371
$table->render();
368
372
369
- This results in :
373
+ This outputs :
370
374
371
375
.. code-block :: terminal
372
376
@@ -389,7 +393,7 @@ This results in:
389
393
]);
390
394
// ...
391
395
392
- This generates :
396
+ This outputs :
393
397
394
398
.. code-block :: terminal
395
399
@@ -468,7 +472,7 @@ The only requirement to append rows is that the table must be rendered inside a
468
472
}
469
473
}
470
474
471
- This will display the following table in the terminal :
475
+ This outputs :
472
476
473
477
.. code-block :: terminal
474
478
@@ -489,7 +493,7 @@ This will display the following table in the terminal:
489
493
$table->render();
490
494
// ...
491
495
492
- This will display :
496
+ This outputs :
493
497
494
498
.. code-block :: terminal
495
499
0 commit comments