sfFormatter
Table of Contents
Methods
-
format()
: string
-
formatSection()
: string
-
setMaxLineSize()
: void
-
setStyle()
: void
public
format(string $text[, mixed $parameters = null ]) : string
Parameters
-
$text
: string
-
-
$parameters
: mixed
= null
-
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'
-
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>
= []
-