Свойство | Тип | Описание | |
---|---|---|---|
$delimiters | array | ||
$encodedDelimiters | array | ||
$operators | array | ||
$variables | array |
Метод | Описание | |
---|---|---|
expand ( string $template, array $variables ) : string | Expand the template string using the supplied variables |
Метод | Описание | |
---|---|---|
decodeReservedDelimiters ( string $string ) : string | Decodes percent encoding on delimiters (used with + and # modifiers) | |
encodeArrayVariable ( array $variable, array $value, string $operator, string $separator, &$useQueryString ) : string | Encode arrays for use in the expanded URI string | |
expandMatch ( array $matches ) : string | Process an expansion | |
isAssociative ( array $array ) : boolean | Determines if an array is associative, i.e. contains at least one key that is a string. | |
parseExpression ( string $expression ) : array | Parse an expression into parts |
protected static decodeReservedDelimiters ( string $string ) : string | ||
$string | string | |
Результат | string |
protected static expandMatch ( array $matches ) : string | ||
$matches | array | matches found in preg_replace_callback |
Результат | string | replacement string |
protected static isAssociative ( array $array ) : boolean | ||
$array | array | |
Результат | boolean |
protected static parseExpression ( string $expression ) : array | ||
$expression | string | Expression to parse |
Результат | array | associative array of parts |
protected static array $encodedDelimiters | ||
Результат | array |