@@ -173,8 +173,8 @@ If the built-in styles do not fit your need, define your own::
173
173
174
174
// customizes the style
175
175
$tableStyle
176
- ->setHorizontalBorderChar ('<fg=magenta>|</>')
177
- ->setVerticalBorderChar ('<fg=magenta>-</>')
176
+ ->setDefaultCrossingChars ('<fg=magenta>|</>')
177
+ ->setVerticalBorderChars ('<fg=magenta>-</>')
178
178
->setDefaultCrossingChar(' ')
179
179
;
180
180
@@ -184,8 +184,8 @@ If the built-in styles do not fit your need, define your own::
184
184
Here is a full list of things you can customize:
185
185
186
186
* :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 `
189
189
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCrossingChars `
190
190
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setDefaultCrossingChar `
191
191
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellHeaderFormat `
@@ -194,9 +194,15 @@ Here is a full list of things you can customize:
194
194
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPadType `
195
195
196
196
.. 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.
200
206
201
207
.. tip ::
202
208
0 commit comments