 TableStyle   class TableStyle   Defines the styles for a Table.  Methods    $this   setPaddingChar(string $paddingChar) Sets padding character, used for cell padding.  
   string   getPaddingChar() Gets padding character, used for cell padding.  
   TableStyle   setHorizontalBorderChars(string $outside, string $inside = null) Sets horizontal border characters.  
   $this   setHorizontalBorderChar(string $horizontalBorderChar) deprecated Sets horizontal border character.  
   string   getHorizontalBorderChar() deprecated Gets horizontal border character.  
   TableStyle   setVerticalBorderChars(string $outside, string $inside = null) Sets vertical border characters.  
   $this   setVerticalBorderChar(string $verticalBorderChar) deprecated Sets vertical border character.  
   string   getVerticalBorderChar() deprecated Gets vertical border character.  
     getBorderChars() Gets border characters.  
   TableStyle   setCrossingChars(string $cross, string $topLeft, string $topMid, string $topRight, string $midRight, string $bottomRight, string $bottomMid, string $bottomLeft, string $midLeft, string $topLeftBottom = null, string $topMidBottom = null, string $topRightBottom = null) Sets crossing characters.  
   TableStyle   setDefaultCrossingChar(string $char) Sets default crossing character used for each cross.  
   $this   setCrossingChar(string $crossingChar) deprecated Sets crossing character.  
   string   getCrossingChar() Gets crossing character.  
   array   getCrossingChars() Gets crossing characters.  
   $this   setCellHeaderFormat(string $cellHeaderFormat) Sets header cell format.  
   string   getCellHeaderFormat() Gets header cell format.  
   $this   setCellRowFormat(string $cellRowFormat) Sets row cell format.  
   string   getCellRowFormat() Gets row cell format.  
   $this   setCellRowContentFormat(string $cellRowContentFormat) Sets row cell content format.  
   string   getCellRowContentFormat() Gets row cell content format.  
   $this   setBorderFormat(string $borderFormat) Sets table border format.  
   string   getBorderFormat() Gets table border format.  
   $this   setPadType(int $padType) Sets cell padding type.  
   int   getPadType() Gets cell padding type.  
  Details                        $this
    setPaddingChar(string $paddingChar)
          Sets padding character, used for cell padding. Parameters   string $paddingChar    Return Value   $this                          string
    getPaddingChar()
          Gets padding character, used for cell padding. Return Value   string     TableStyle
    setHorizontalBorderChars(string $outside, string $inside = null)
          Sets horizontal border characters. 
╔═══════════════╤══════════════════════════╤══════════════════╗
1 ISBN          2 Title                    │ Author           ║
╠═══════════════╪══════════════════════════╪══════════════════╣
║ 99921-58-10-7 │ Divine Comedy            │ Dante Alighieri  ║
║ 9971-5-0210-0 │ A Tale of Two Cities     │ Charles Dickens  ║
║ 960-425-059-0 │ The Lord of the Rings    │ J. R. R. Tolkien ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
╚═══════════════╧══════════════════════════╧══════════════════╝
 Parameters   string $outside Outside border char (see #1 of example)   string $inside Inside border char (see #2 of example), equals $outside if null   Return Value   TableStyle                          $this
    setHorizontalBorderChar(string $horizontalBorderChar)
        deprecated   deprecated 
 since Symfony 4.1, use {@link setHorizontalBorderChars()} instead.  Sets horizontal border character. Parameters   string $horizontalBorderChar    Return Value   $this                          string
    getHorizontalBorderChar()
        deprecated   deprecated 
 since Symfony 4.1, use {@link getBorderChars()} instead.  Gets horizontal border character. Return Value   string     TableStyle
    setVerticalBorderChars(string $outside, string $inside = null)
          Sets vertical border characters. 
╔═══════════════╤══════════════════════════╤══════════════════╗
║ ISBN          │ Title                    │ Author           ║
╠═══════1═══════╪══════════════════════════╪══════════════════╣
║ 99921-58-10-7 │ Divine Comedy            │ Dante Alighieri  ║
║ 9971-5-0210-0 │ A Tale of Two Cities     │ Charles Dickens  ║
╟───────2───────┼──────────────────────────┼──────────────────╢
║ 960-425-059-0 │ The Lord of the Rings    │ J. R. R. Tolkien ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
╚═══════════════╧══════════════════════════╧══════════════════╝
 Parameters   string $outside Outside border char (see #1 of example)   string $inside Inside border char (see #2 of example), equals $outside if null   Return Value   TableStyle                          $this
    setVerticalBorderChar(string $verticalBorderChar)
        deprecated   deprecated 
 since Symfony 4.1, use {@link setVerticalBorderChars()} instead.  Sets vertical border character. Parameters   string $verticalBorderChar    Return Value   $this                          string
    getVerticalBorderChar()
        deprecated   deprecated 
 since Symfony 4.1, use {@link getBorderChars()} instead.  Gets vertical border character. Return Value   string                          
    getBorderChars()
          Gets border characters.  TableStyle
    setCrossingChars(string $cross, string $topLeft, string $topMid, string $topRight, string $midRight, string $bottomRight, string $bottomMid, string $bottomLeft, string $midLeft, string $topLeftBottom = null, string $topMidBottom = null, string $topRightBottom = null)
          Sets crossing characters. Example: 
1═══════════════2══════════════════════════2══════════════════3
║ ISBN          │ Title                    │ Author           ║
8'══════════════0'═════════════════════════0'═════════════════4'
║ 99921-58-10-7 │ Divine Comedy            │ Dante Alighieri  ║
║ 9971-5-0210-0 │ A Tale of Two Cities     │ Charles Dickens  ║
8───────────────0──────────────────────────0──────────────────4
║ 960-425-059-0 │ The Lord of the Rings    │ J. R. R. Tolkien ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
7═══════════════6══════════════════════════6══════════════════5
 Parameters   string $cross Crossing char (see #0 of example)   string $topLeft Top left char (see #1 of example)   string $topMid Top mid char (see #2 of example)   string $topRight Top right char (see #3 of example)   string $midRight Mid right char (see #4 of example)   string $bottomRight Bottom right char (see #5 of example)   string $bottomMid Bottom mid char (see #6 of example)   string $bottomLeft Bottom left char (see #7 of example)   string $midLeft Mid left char (see #8 of example)   string $topLeftBottom Top left bottom char (see #8' of example), equals to $midLeft if null   string $topMidBottom Top mid bottom char (see #0' of example), equals to $cross if null   string $topRightBottom Top right bottom char (see #4' of example), equals to $midRight if null   Return Value   TableStyle     TableStyle
    setDefaultCrossingChar(string $char)
          Sets default crossing character used for each cross. Parameters   string $char    Return Value   TableStyle    See also    {@link  setCrossingChars()} for setting each crossing individually.                         $this
    setCrossingChar(string $crossingChar)
        deprecated   deprecated 
 since Symfony 4.1. Use {@link setDefaultCrossingChar()} instead.  Sets crossing character. Parameters   string $crossingChar    Return Value   $this                          string
    getCrossingChar()
          Gets crossing character. Return Value   string $crossingChar                         array
    getCrossingChars()
          Gets crossing characters. Return Value   array                          $this
    setCellHeaderFormat(string $cellHeaderFormat)
          Sets header cell format. Parameters   string $cellHeaderFormat    Return Value   $this                          string
    getCellHeaderFormat()
          Gets header cell format. Return Value   string                          $this
    setCellRowFormat(string $cellRowFormat)
          Sets row cell format. Parameters   string $cellRowFormat    Return Value   $this                          string
    getCellRowFormat()
          Gets row cell format. Return Value   string                          $this
    setCellRowContentFormat(string $cellRowContentFormat)
          Sets row cell content format. Parameters   string $cellRowContentFormat    Return Value   $this                          string
    getCellRowContentFormat()
          Gets row cell content format. Return Value   string                          $this
    setBorderFormat(string $borderFormat)
          Sets table border format. Parameters   string $borderFormat    Return Value   $this                          string
    getBorderFormat()
          Gets table border format. Return Value   string                          $this
    setPadType(int $padType)
          Sets cell padding type. Parameters   int $padType STR_PAD_*   Return Value   $this                          int
    getPadType()
          Gets cell padding type. Return Value   int    

    
{'path': 'public/docs/symfony~4.1/symfony/component/console/helper/tablestyle.html', 'source': 'DevDocs.IO'}