File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Top Open diff view settings
components/console/helpers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Top Open diff view settings 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:
2424 To display a table, use :class: `Symfony\\ Component\\ Console\\ Helper\\ Table `,
2525set the headers, set the rows and then render the table::
2626
27- use Symfony\Component\Helper\Table;
27+ use Symfony\Component\Console\ Helper\Table;
2828
2929 $table = new Table($output);
3030 $table
@@ -41,7 +41,7 @@ set the headers, set the rows and then render the table::
4141You can add a table separator anywhere in the output by passing an instance of
4242:class: `Symfony\\ Component\\ Console\\ Helper\\ TableSeparator ` as a row::
4343
44- use Symfony\Component\Helper\TableSeparator;
44+ use Symfony\Component\Console\ Helper\TableSeparator;
4545
4646 $table->setRows(array(
4747 array('99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'),
@@ -103,7 +103,7 @@ which outputs:
103103
104104 If the built-in styles do not fit your need, define your own::
105105
106- use Symfony\Component\Helper\TableStyle;
106+ use Symfony\Component\Console\ Helper\TableStyle;
107107
108108 // by default, this is based on the default style
109109 $style = new TableStyle();
You can’t perform that action at this time.
0 commit comments