[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

FormatterHelper:: (4 methods):
  formatSection()
  formatBlock()
  truncate()
  getName()


Class: FormatterHelper  - X-Ref

The Formatter class provides helpers to format messages.

formatSection($section, $message, $style = 'info')   X-Ref
Formats a message within a section.

param: string $section The section name
param: string $message The message
param: string $style   The style to apply to the section
return: string The format section

formatBlock($messages, $style, $large = false)   X-Ref
Formats a message as a block of text.

param: string|array $messages The message to write in the block
param: string       $style    The style to apply to the whole block
param: bool         $large    Whether to return a large block
return: string The formatter message

truncate($message, $length, $suffix = '...')   X-Ref
Truncates a message to the given length.

param: string $message
param: int    $length
param: string $suffix
return: string

getName()   X-Ref
{@inheritdoc}




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