Url
in package

This class will help us with the URL's manipulations.

Tags
see
Url::encodeParams()
see
Url::replaceWildcards()

Table of Contents

encodeParams() Returns the given parameters url formatted  : string
replaceWildcards() Replace the resource wildcards with the given associative array values  : string

Methods

encodeParams()

Returns the given parameters url formatted

public static encodeParams(array<string|int, mixed> $params) : string
Parameters
$params : array<string|int, mixed>
Return values
string

replaceWildcards()

Replace the resource wildcards with the given associative array values

public static replaceWildcards(string $resource, array<string|int, mixed> $wildcards) : string
Parameters
$resource : string
$wildcards : array<string|int, mixed>
Return values
string

Search results