Assertation

StringInterpolation
in package

Table of Contents

DEFAULT_ESCAPE  = '\\'
DEFAULT_IDENTIFIER_SEPARATOR  = ','
DEFAULT_SYMBOL_END  = '}'
DEFAULT_SYMBOL_START  = '{'
interpolate()  : string

Constants

Methods

interpolate()

public static interpolate(string $string, array<string|int, mixed> $values[, mixed $default = '' ][, string $symbol = self::DEFAULT_SYMBOL_START ][, string $symbolEnd = self::DEFAULT_SYMBOL_END ][, string $escape = self::DEFAULT_ESCAPE ][, string $identifierSeparator = self::DEFAULT_IDENTIFIER_SEPARATOR ]) : string
Parameters
$string : string
$values : array<string|int, mixed>
$default : mixed = ''
$symbol : string = self::DEFAULT_SYMBOL_START
$symbolEnd : string = self::DEFAULT_SYMBOL_END
$escape : string = self::DEFAULT_ESCAPE
$identifierSeparator : string = self::DEFAULT_IDENTIFIER_SEPARATOR
Return values
string

        

Search results