File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
components/console/helpers Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,27 @@ which outputs:
164164 .. versionadded :: 4.1
165165 The ``box `` style was introduced in Symfony 4.1.
166166
167+ You can also set the style to ``box-double ``::
168+
169+ $table->setStyle('box-double');
170+ $table->render();
171+
172+ which outputs:
173+
174+ .. code-block :: text
175+
176+ ╔═══════════════╤══════════════════════════╤══════════════════╗
177+ ║ ISBN │ Title │ Author ║
178+ ╠═══════════════╪══════════════════════════╪══════════════════╣
179+ ║ 99921-58-10-7 │ Divine Comedy │ Dante Alighieri ║
180+ ║ 9971-5-0210-0 │ A Tale of Two Cities │ Charles Dickens ║
181+ ║ 960-425-059-0 │ The Lord of the Rings │ J. R. R. Tolkien ║
182+ ║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie ║
183+ ╚═══════════════╧══════════════════════════╧══════════════════╝
184+
185+ .. versionadded :: 4.1
186+ The ``box-double `` style was introduced in Symfony 4.1.
187+
167188If the built-in styles do not fit your need, define your own::
168189
169190 use Symfony\Component\Console\Helper\TableStyle;
You can’t perform that action at this time.
0 commit comments