Skip to content

Commit

Permalink
bug #3945 Fixed missing component name in namespaces (WouterJ)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.5 branch.

Discussion
----------

Fixed missing component name in namespaces

| Q   | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.5+
| Fixed tickets | -

Commits
-------

9dfc088 Fixed missing component name in namespaces
  • Loading branch information
weaverryan committed Jun 19, 2014
2 parents b879ad7 + 9dfc088 commit 84332ff
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 84332ff

Please sign in to comment.