[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ProgressIndicator:: (17 methods):
  __construct()
  setMessage()
  getMessage()
  getStartTime()
  getCurrentValue()
  start()
  advance()
  finish()
  getFormatDefinition()
  setPlaceholderFormatterDefinition()
  getPlaceholderFormatterDefinition()
  display()
  determineBestFormat()
  overwrite()
  getCurrentTimeInMilliseconds()
  initPlaceholderFormatters()
  initFormats()


Class: ProgressIndicator  - X-Ref


__construct(OutputInterface $output, $format = null, $indicatorChangeInterval = 100, $indicatorValues = null)   X-Ref

param: OutputInterface $output
param: string|null     $format                  Indicator format
param: int             $indicatorChangeInterval Change interval in milliseconds
param: array|null      $indicatorValues         Animated indicator characters

setMessage($message)   X-Ref
Sets the current indicator message.

param: string|null $message

getMessage()   X-Ref
Gets the current indicator message.

return: string|null

getStartTime()   X-Ref
Gets the progress bar start time.

return: int The progress bar start time

getCurrentValue()   X-Ref
Gets the current animated indicator character.

return: string

start($message)   X-Ref
Starts the indicator output.

param: $message

advance()   X-Ref
Advances the indicator.


finish($message)   X-Ref
Finish the indicator with message.

param: $message

getFormatDefinition($name)   X-Ref
Gets the format for a given name.

param: string $name The format name
return: string|null A format string

setPlaceholderFormatterDefinition($name, $callable)   X-Ref
Sets a placeholder formatter for a given name.

This method also allow you to override an existing placeholder.

param: string   $name     The placeholder name (including the delimiter char like %)
param: callable $callable A PHP callable

getPlaceholderFormatterDefinition($name)   X-Ref
Gets the placeholder formatter for a given name.

param: string $name The placeholder name (including the delimiter char like %)
return: callable|null A PHP callable

display()   X-Ref
No description

determineBestFormat()   X-Ref
No description

overwrite($message)   X-Ref
Overwrites a previous message to the output.

param: string $message The message

getCurrentTimeInMilliseconds()   X-Ref
No description

initPlaceholderFormatters()   X-Ref
No description

initFormats()   X-Ref
No description



Generated: Sat Oct 26 11:28:42 2019 Cross-referenced by PHPXref 0.7.1