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::
175175 $tableStyle
176176 ->setHorizontalBorderChar('<fg=magenta>|</>')
177177 ->setVerticalBorderChar('<fg=magenta>-</>')
178- ->setCrossingChar (' ')
178+ ->setDefaultCrossingChar (' ')
179179 ;
180180
181181 // uses the custom style for this table
@@ -186,12 +186,18 @@ Here is a full list of things you can customize:
186186* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPaddingChar `
187187* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setHorizontalBorderChar `
188188* :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 `
190191* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellHeaderFormat `
191192* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setCellRowFormat `
192193* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setBorderFormat `
193194* :method: `Symfony\\ Component\\ Console\\ Helper\\ TableStyle::setPadType `
194195
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+
195201.. tip ::
196202
197203 You can also register a style globally::
You can’t perform that action at this time.
0 commit comments