Methods |
public
|
setHelperSet(HelperSet $helperSet = null)
{@inheritdoc}
|
#
|
public
|
getHelperSet()
{@inheritdoc}
|
#
|
public
static
|
strlen(?string $string): int
Returns the length of a string, using mb_strwidth if it is available.
Returns the length of a string, using mb_strwidth if it is available.
Deprecated
|
#
|
public
static
|
width(?string $string): int
Returns the width of a string, using mb_strwidth if it is available.
The width is how many characters positions the…
Returns the width of a string, using mb_strwidth if it is available.
The width is how many characters positions the string will use.
|
#
|
public
static
|
length(?string $string): int
Returns the length of a string, using mb_strlen if it is available.
The length is related to how many bytes the string…
Returns the length of a string, using mb_strlen if it is available.
The length is related to how many bytes the string will use.
|
#
|
public
static
|
substr(?string $string, int $from, int $length = null): string
Returns the subset of a string, using mb_substr if it is available.
Returns the subset of a string, using mb_substr if it is available.
|
#
|
public
static
|
formatTime($secs)
|
#
|
public
static
|
formatMemory(int $memory)
|
#
|
public
static
|
strlenWithoutDecoration(OutputFormatterInterface $formatter, ?string $string)
|
#
|
public
static
|
removeDecoration(OutputFormatterInterface $formatter, ?string $string)
|
#
|