@@ -173,8 +173,8 @@ If the built-in styles do not fit your need, define your own::
173173
174174 // customizes the style
175175 $tableStyle
176- ->setHorizontalBorderChar ('<fg=magenta>|</>')
177- ->setVerticalBorderChar ('<fg=magenta>-</>')
176+ ->setDefaultCrossingChars ('<fg=magenta>|</>')
177+ ->setVerticalBorderChars ('<fg=magenta>-</>')
178178 ->setDefaultCrossingChar(' ')
179179 ;
180180
@@ -184,8 +184,8 @@ If the built-in styles do not fit your need, define your own::
184184Here is a full list of things you can customize:
185185
186186* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPaddingChar `
187- * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setHorizontalBorderChar `
188- * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setVerticalBorderChar `
187+ * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setDefaultCrossingChars `
188+ * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setVerticalBorderChars `
189189* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCrossingChars `
190190* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setDefaultCrossingChar `
191191* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellHeaderFormat `
@@ -194,9 +194,15 @@ Here is a full list of things you can customize:
194194* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPadType `
195195
196196.. versionadded :: 4.1
197- The ``setCrossingChars() `` and ``setDefaultCrossingChar() `` methods were
198- introduced in Symfony 4.1. Previously you could only use the now deprecated
199- ``setCrossingChar() `` method.
197+ The ``setDefaultCrossingChars `` method was introduced in Symfony 4.1.
198+ It replaces the deprecated ``setHorizontalBorderChar `` method.
199+
200+ Also, the ``setVerticalBorderChars `` method was introduced. Use this instead
201+ of the deprecated ``setVerticalBorderChar `` method.
202+
203+ The ``setCrossingChars() `` and ``setDefaultCrossingChar() `` methods are also
204+ new. Previously you could only use the now deprecated ``setCrossingChar() ``
205+ method.
200206
201207.. tip ::
202208
0 commit comments