[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/console/Helper/ -> DebugFormatterHelper.php (summary)

(no description)

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

Defines 1 class

DebugFormatterHelper:: (5 methods):
  start()
  progress()
  stop()
  getBorder()
  getName()


Class: DebugFormatterHelper  - X-Ref

Helps outputting debug information when running an external program from a command.

An external program can be a Process, an HTTP request, or anything else.

start($id, $message, $prefix = 'RUN')   X-Ref
Starts a debug formatting session.

param: string $id      The id of the formatting session
param: string $message The message to display
param: string $prefix  The prefix to use
return: string

progress($id, $buffer, $error = false, $prefix = 'OUT', $errorPrefix = 'ERR')   X-Ref
Adds progress to a formatting session.

param: string $id          The id of the formatting session
param: string $buffer      The message to display
param: bool   $error       Whether to consider the buffer as error
param: string $prefix      The prefix for output
param: string $errorPrefix The prefix for error output
return: string

stop($id, $message, $successful, $prefix = 'RES')   X-Ref
Stops a formatting session.

param: string $id         The id of the formatting session
param: string $message    The message to display
param: bool   $successful Whether to consider the result as success
param: string $prefix     The prefix for the end output
return: string

getBorder($id)   X-Ref

param: string $id The id of the formatting session
return: string

getName()   X-Ref
{@inheritdoc}




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1