Skip to content

added the compact layout information #3025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion components/console/helpers/tablehelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@ table rendering: using named layouts or by customizing rendering options.
Customize Table Layout using Named Layouts
------------------------------------------

The Table helper ships with two preconfigured table layouts:
.. versionadded:: 2.4
The ``TableHelper::LAYOUT_COMPACT`` layout was added in Symfony 2.4.

The Table helper ships with three preconfigured table layouts:

* ``TableHelper::LAYOUT_DEFAULT``

* ``TableHelper::LAYOUT_BORDERLESS``

* ``TableHelper::LAYOUT_COMPACT``

Layout can be set using :method:`Symfony\\Component\\Console\\Helper\\TableHelper::setLayout` method.

Customize Table Layout using Rendering Options
Expand Down