[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/var-dumper/Dumper/ -> CliDumper.php (summary)

(no description)

File Size: 652 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CliDumper:: (18 methods):
  __construct()
  setColors()
  setMaxStringWidth()
  setStyles()
  setDisplayOptions()
  dumpScalar()
  dumpString()
  enterHash()
  leaveHash()
  dumpEllipsis()
  dumpKey()
  style()
  supportsColors()
  dumpLine()
  endValue()
  hasColorSupport()
  isWindowsTrueColor()
  getSourceLink()


Class: CliDumper  - X-Ref

CliDumper dumps variables for command line output.

__construct($output = null, string $charset = null, int $flags = 0)   X-Ref
{@inheritdoc}


setColors(bool $colors)   X-Ref
Enables/disables colored output.


setMaxStringWidth(int $maxStringWidth)   X-Ref
Sets the maximum number of characters per line for dumped strings.


setStyles(array $styles)   X-Ref
Configures styles.

param: array $styles A map of style names to style definitions

setDisplayOptions(array $displayOptions)   X-Ref
Configures display options.

param: array $displayOptions A map of display options to customize the behavior

dumpScalar(Cursor $cursor, string $type, $value)   X-Ref
{@inheritdoc}


dumpString(Cursor $cursor, string $str, bool $bin, int $cut)   X-Ref
{@inheritdoc}


enterHash(Cursor $cursor, int $type, $class, bool $hasChild)   X-Ref
{@inheritdoc}


leaveHash(Cursor $cursor, int $type, $class, bool $hasChild, int $cut)   X-Ref
{@inheritdoc}


dumpEllipsis(Cursor $cursor, bool $hasChild, int $cut)   X-Ref
Dumps an ellipsis for cut children.

param: bool $hasChild When the dump of the hash has child item
param: int  $cut      The number of items the hash has been cut by

dumpKey(Cursor $cursor)   X-Ref
Dumps a key in a hash structure.


style(string $style, string $value, array $attr = [])   X-Ref
Decorates a value with some style.

param: string $style The type of style being applied
param: string $value The value being styled
param: array  $attr  Optional context information
return: string

supportsColors()   X-Ref

return: bool

dumpLine(int $depth, bool $endOfValue = false)   X-Ref
{@inheritdoc}


endValue(Cursor $cursor)   X-Ref
No description

hasColorSupport($stream)   X-Ref
Returns true if the stream supports colorization.

Reference: Composer\XdebugHandler\Process::supportsColor
https://github.com/composer/xdebug-handler

param: mixed $stream A CLI output stream

isWindowsTrueColor()   X-Ref
Returns true if the Windows terminal supports true color.

Note that this does not check an output stream, but relies on environment
variables from known implementations, or a PHP and Windows version that
supports true color.

getSourceLink(string $file, int $line)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer