Heratio Framework API Reference

sfFormatter
in package

Table of Contents

Methods

format()  : string
formatSection()  : string
setMaxLineSize()  : void
setStyle()  : void

Methods

format()

public format(string $text[, mixed $parameters = null ]) : string
Parameters
$text : string
$parameters : mixed = null
Return values
string

formatSection()

public formatSection(string $section, string $text[, int|null $size = null ][, string $style = 'INFO' ]) : string
Parameters
$section : string
$text : string
$size : int|null = null
$style : string = 'INFO'
Return values
string

setMaxLineSize()

public setMaxLineSize(int $size) : void
Parameters
$size : int

setStyle()

public setStyle(string $name[, array<string|int, mixed> $options = [] ]) : void
Parameters
$name : string
$options : array<string|int, mixed> = []

        
On this page

Search results