Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9dfc088

Browse filesBrowse files
committed
Fixed missing component name in namespaces
1 parent b7a03f8 commit 9dfc088
Copy full SHA for 9dfc088

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎components/console/helpers/table.rst

Copy file name to clipboardExpand all lines: components/console/helpers/table.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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`,
2525
set 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::
4141
You 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();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.