class FormatterHelper extends Helper
The Formatter class provides helpers to format messages.
Methods
|
setHelperSet(HelperSet $helperSet = null)
Sets the helper set associated with this helper. |
from Helper | |
| HelperSet |
getHelperSet()
Gets the helper set associated with this helper. |
from Helper |
| string |
formatSection(string $section, string $message, string $style = 'info')
Formats a message within a section. |
|
| string |
formatBlock(string|array $messages, string $style, Boolean $large = false)
Formats a message as a block of text. |
|
| string |
getName()
Returns the canonical name of this helper. |
Details
in Helper at line 28
public
setHelperSet(HelperSet $helperSet = null)
Sets the helper set associated with this helper.
in Helper at line 38
public HelperSet
getHelperSet()
Gets the helper set associated with this helper.
at line 32
public string
formatSection(string $section, string $message, string $style = 'info')
Formats a message within a section.
at line 46
public string
formatBlock(string|array $messages, string $style, Boolean $large = false)
Formats a message as a block of text.
at line 76
public string
getName()
Returns the canonical name of this helper.