Skip to content

Commit

Permalink
Fixed missing component name in namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jun 13, 2014
1 parent b7a03f8 commit 9dfc088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/console/helpers/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ When building a console application it may be useful to display tabular data:
To display a table, use :class:`Symfony\\Component\\Console\\Helper\\Table`,
set the headers, set the rows and then render the table::

use Symfony\Component\Helper\Table;
use Symfony\Component\Console\Helper\Table;

$table = new Table($output);
$table
Expand All @@ -41,7 +41,7 @@ set the headers, set the rows and then render the table::
You can add a table separator anywhere in the output by passing an instance of
:class:`Symfony\\Component\\Console\\Helper\\TableSeparator` as a row::

use Symfony\Component\Helper\TableSeparator;
use Symfony\Component\Console\Helper\TableSeparator;

$table->setRows(array(
array('99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'),
Expand Down Expand Up @@ -103,7 +103,7 @@ which outputs:
If the built-in styles do not fit your need, define your own::

use Symfony\Component\Helper\TableStyle;
use Symfony\Component\Console\Helper\TableStyle;

// by default, this is based on the default style
$style = new TableStyle();
Expand Down

0 comments on commit 9dfc088

Please sign in to comment.