From 2c1bd6ccacf523e4439dff3bd5edd0599f9ccee2 Mon Sep 17 00:00:00 2001 From: Hari KT Date: Tue, 13 Jan 2015 08:36:10 +0530 Subject: [PATCH] Add the missing output variable --- components/console/helpers/table.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/console/helpers/table.rst b/components/console/helpers/table.rst index 0f3511fe040..d81c2b16a37 100644 --- a/components/console/helpers/table.rst +++ b/components/console/helpers/table.rst @@ -25,6 +25,9 @@ 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\Console\Helper\Table; + use Symfony\Component\Console\Output\ConsoleOutput; + + $output = new ConsoleOutput(); $table = new Table($output); $table