Class FormattedString
A formatted string.
The string is formatted by replacing placeholders with the values provided.
Methods summary
public
__construct( string $format
, array $args
= null )
public
__toString( void )
: string
Returns the string formatted with the format() function.
Returns the string formatted with the format() function.
Returns
string
Properties summary
protected
$args
: array
An array of replacements for the placeholders.
An array of replacements for the placeholders.