File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
components/console/helpers Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ If the built-in styles do not fit your need, define your own::
175
175
$tableStyle
176
176
->setHorizontalBorderChar('<fg=magenta>|</>')
177
177
->setVerticalBorderChar('<fg=magenta>-</>')
178
- ->setCrossingChar (' ')
178
+ ->setDefaultCrossingChar (' ')
179
179
;
180
180
181
181
// uses the custom style for this table
@@ -186,12 +186,18 @@ Here is a full list of things you can customize:
186
186
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPaddingChar `
187
187
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setHorizontalBorderChar `
188
188
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setVerticalBorderChar `
189
- * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCrossingChar `
189
+ * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCrossingChars `
190
+ * :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setDefaultCrossingChar `
190
191
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellHeaderFormat `
191
192
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellRowFormat `
192
193
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setBorderFormat `
193
194
* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPadType `
194
195
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.
200
+
195
201
.. tip ::
196
202
197
203
You can also register a style globally::
You can’t perform that action at this time.
0 commit comments