Using Table of Symfony Console Component one can draw tables with rows and columns.
How to align to the center the content of the columns?
Using Table of Symfony Console Component one can draw tables with rows and columns.
How to align to the center the content of the columns?
Copyright © 2021 Jogjafile Inc.
In order to change the style of a Table, one should use the TableStyle class and its setPadType method passing
STR_PAD_BOTH
to it.Example: