platform/api/symfony/Component/Console/Helper/TableStyle.yaml
2024-09-02 10:44:11 -07:00

276 lines
13 KiB
YAML

name: TableStyle
class_comment: "# * Defines the styles for a Table.\n# *\n# * @author Fabien Potencier\
\ <fabien@symfony.com>\n# * @author \u0421\u0430\u0448\u0430 \u0421\u0442\u0430\u043C\
\u0435\u043D\u043A\u043E\u0432\u0438\u045B <umpirsky@gmail.com>\n# * @author Dany\
\ Maillard <danymaillard93b@gmail.com>"
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Console\Exception\InvalidArgumentException
- name: LogicException
type: class
source: Symfony\Component\Console\Exception\LogicException
properties: []
methods:
- name: setPaddingChar
visibility: public
parameters:
- name: paddingChar
comment: "# * Defines the styles for a Table.\n# *\n# * @author Fabien Potencier\
\ <fabien@symfony.com>\n# * @author \u0421\u0430\u0448\u0430 \u0421\u0442\u0430\
\u043C\u0435\u043D\u043A\u043E\u0432\u0438\u045B <umpirsky@gmail.com>\n# * @author\
\ Dany Maillard <danymaillard93b@gmail.com>\n# */\n# class TableStyle\n# {\n#\
\ private string $paddingChar = ' ';\n# private string $horizontalOutsideBorderChar\
\ = '-';\n# private string $horizontalInsideBorderChar = '-';\n# private string\
\ $verticalOutsideBorderChar = '|';\n# private string $verticalInsideBorderChar\
\ = '|';\n# private string $crossingChar = '+';\n# private string $crossingTopRightChar\
\ = '+';\n# private string $crossingTopMidChar = '+';\n# private string $crossingTopLeftChar\
\ = '+';\n# private string $crossingMidRightChar = '+';\n# private string $crossingBottomRightChar\
\ = '+';\n# private string $crossingBottomMidChar = '+';\n# private string $crossingBottomLeftChar\
\ = '+';\n# private string $crossingMidLeftChar = '+';\n# private string $crossingTopLeftBottomChar\
\ = '+';\n# private string $crossingTopMidBottomChar = '+';\n# private string\
\ $crossingTopRightBottomChar = '+';\n# private string $headerTitleFormat = '<fg=black;bg=white;options=bold>\
\ %s </>';\n# private string $footerTitleFormat = '<fg=black;bg=white;options=bold>\
\ %s </>';\n# private string $cellHeaderFormat = '<info>%s</info>';\n# private\
\ string $cellRowFormat = '%s';\n# private string $cellRowContentFormat = ' %s\
\ ';\n# private string $borderFormat = '%s';\n# private int $padType = \\STR_PAD_RIGHT;\n\
# \n# /**\n# * Sets padding character, used for cell padding.\n# *\n# * @return\
\ $this"
- name: getPaddingChar
visibility: public
parameters: []
comment: '# * Gets padding character, used for cell padding.'
- name: setHorizontalBorderChars
visibility: public
parameters:
- name: outside
- name: inside
default: 'null'
comment: "# * Sets horizontal border characters.\n# *\n# * <code>\n# * \u2554\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n# * 1 ISBN 2\
\ Title \u2502 Author \u2551\n# * \u2560\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u256A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u256A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n# * \u2551 99921-58-10-7 \u2502\
\ Divine Comedy \u2502 Dante Alighieri \u2551\n# * \u2551 9971-5-0210-0\
\ \u2502 A Tale of Two Cities \u2502 Charles Dickens \u2551\n# * \u2551 960-425-059-0\
\ \u2502 The Lord of the Rings \u2502 J. R. R. Tolkien \u2551\n# * \u2551 80-902734-1-6\
\ \u2502 And Then There Were None \u2502 Agatha Christie \u2551\n# * \u255A\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\n# * </code>\n# *\n# *\
\ @return $this"
- name: setVerticalBorderChars
visibility: public
parameters:
- name: outside
- name: inside
default: 'null'
comment: "# * Sets vertical border characters.\n# *\n# * <code>\n# * \u2554\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n# * \u2551 ISBN \
\ \u2502 Title \u2502 Author \u2551\n# * \u2560\
\u2550\u2550\u2550\u2550\u2550\u2550\u25501\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u256A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u256A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n# * \u2551 99921-58-10-7\
\ \u2502 Divine Comedy \u2502 Dante Alighieri \u2551\n# * \u2551 9971-5-0210-0\
\ \u2502 A Tale of Two Cities \u2502 Charles Dickens \u2551\n# * \u255F\u2500\
\u2500\u2500\u2500\u2500\u2500\u25002\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u253C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u253C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n# * \u2551 960-425-059-0 \u2502\
\ The Lord of the Rings \u2502 J. R. R. Tolkien \u2551\n# * \u2551 80-902734-1-6\
\ \u2502 And Then There Were None \u2502 Agatha Christie \u2551\n# * \u255A\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\n# * </code>\n# *\n# *\
\ @return $this"
- name: getBorderChars
visibility: public
parameters: []
comment: '# * Gets border characters.
# *
# * @internal'
- name: setCrossingChars
visibility: public
parameters:
- name: cross
- name: topLeft
- name: topMid
- name: topRight
- name: midRight
- name: bottomRight
- name: bottomMid
- name: bottomLeft
- name: midLeft
- name: topLeftBottom
default: 'null'
- name: topMidBottom
default: 'null'
- name: topRightBottom
default: 'null'
comment: "# * Sets crossing characters.\n# *\n# * Example:\n# * <code>\n# * 1\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u25502\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u25502\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u25503\n# * \u2551 ISBN \u2502 Title \
\ \u2502 Author \u2551\n# * 8'\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u25500'\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u25500'\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
4'\n# * \u2551 99921-58-10-7 \u2502 Divine Comedy \u2502 Dante Alighieri\
\ \u2551\n# * \u2551 9971-5-0210-0 \u2502 A Tale of Two Cities \u2502 Charles\
\ Dickens \u2551\n# * 8\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u25000\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u25000\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25004\n# * \u2551\
\ 960-425-059-0 \u2502 The Lord of the Rings \u2502 J. R. R. Tolkien \u2551\
\n# * \u2551 80-902734-1-6 \u2502 And Then There Were None \u2502 Agatha Christie\
\ \u2551\n# * 7\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u25506\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u25506\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u25505\n# * </code>\n# *\n# *\
\ @param string $cross Crossing char (see #0 of example)\n# * @param\
\ string $topLeft Top left char (see #1 of example)\n# * @param string\
\ $topMid Top mid char (see #2 of example)\n# * @param string \
\ $topRight Top right char (see #3 of example)\n# * @param string \
\ $midRight Mid right char (see #4 of example)\n# * @param string \
\ $bottomRight Bottom right char (see #5 of example)\n# * @param string \
\ $bottomMid Bottom mid char (see #6 of example)\n# * @param string \
\ $bottomLeft Bottom left char (see #7 of example)\n# * @param string \
\ $midLeft Mid left char (see #8 of example)\n# * @param string|null\
\ $topLeftBottom Top left bottom char (see #8' of example), equals to $midLeft\
\ if null\n# * @param string|null $topMidBottom Top mid bottom char (see #0'\
\ of example), equals to $cross if null\n# * @param string|null $topRightBottom\
\ Top right bottom char (see #4' of example), equals to $midRight if null\n# *\n\
# * @return $this"
- name: setDefaultCrossingChar
visibility: public
parameters:
- name: char
comment: '# * Sets default crossing character used for each cross.
# *
# * @see {@link setCrossingChars()} for setting each crossing individually.'
- name: getCrossingChar
visibility: public
parameters: []
comment: '# * Gets crossing character.'
- name: getCrossingChars
visibility: public
parameters: []
comment: '# * Gets crossing characters.
# *
# * @internal'
- name: setCellHeaderFormat
visibility: public
parameters:
- name: cellHeaderFormat
comment: '# * Sets header cell format.
# *
# * @return $this'
- name: getCellHeaderFormat
visibility: public
parameters: []
comment: '# * Gets header cell format.'
- name: setCellRowFormat
visibility: public
parameters:
- name: cellRowFormat
comment: '# * Sets row cell format.
# *
# * @return $this'
- name: getCellRowFormat
visibility: public
parameters: []
comment: '# * Gets row cell format.'
- name: setCellRowContentFormat
visibility: public
parameters:
- name: cellRowContentFormat
comment: '# * Sets row cell content format.
# *
# * @return $this'
- name: getCellRowContentFormat
visibility: public
parameters: []
comment: '# * Gets row cell content format.'
- name: setBorderFormat
visibility: public
parameters:
- name: borderFormat
comment: '# * Sets table border format.
# *
# * @return $this'
- name: getBorderFormat
visibility: public
parameters: []
comment: '# * Gets table border format.'
- name: setPadType
visibility: public
parameters:
- name: padType
comment: '# * Sets cell padding type.
# *
# * @return $this'
- name: getPadType
visibility: public
parameters: []
comment: '# * Gets cell padding type.'
- name: getHeaderTitleFormat
visibility: public
parameters: []
comment: null
- name: setHeaderTitleFormat
visibility: public
parameters:
- name: format
comment: '# * @return $this'
- name: getFooterTitleFormat
visibility: public
parameters: []
comment: null
- name: setFooterTitleFormat
visibility: public
parameters:
- name: format
comment: '# * @return $this'
traits:
- Symfony\Component\Console\Exception\InvalidArgumentException
- Symfony\Component\Console\Exception\LogicException
interfaces: []