File tree 1 file changed +3
-3
lines changed
components/console/helpers
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ When building a console application it may be useful to display tabular data:
24
24
To display a table, use :class: `Symfony\\ Component\\ Console\\ Helper\\ Table `,
25
25
set the headers, set the rows and then render the table::
26
26
27
- use Symfony\Component\Helper\Table;
27
+ use Symfony\Component\Console\ Helper\Table;
28
28
29
29
$table = new Table($output);
30
30
$table
@@ -41,7 +41,7 @@ set the headers, set the rows and then render the table::
41
41
You can add a table separator anywhere in the output by passing an instance of
42
42
:class: `Symfony\\ Component\\ Console\\ Helper\\ TableSeparator ` as a row::
43
43
44
- use Symfony\Component\Helper\TableSeparator;
44
+ use Symfony\Component\Console\ Helper\TableSeparator;
45
45
46
46
$table->setRows(array(
47
47
array('99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'),
@@ -103,7 +103,7 @@ which outputs:
103
103
104
104
If the built-in styles do not fit your need, define your own::
105
105
106
- use Symfony\Component\Helper\TableStyle;
106
+ use Symfony\Component\Console\ Helper\TableStyle;
107
107
108
108
// by default, this is based on the default style
109
109
$style = new TableStyle();
You can’t perform that action at this time.
0 commit comments