UriHelper
class UriHelper (View source)
Methods
static string
addOptionsToUriString(string $url, string $options)
Allows you to add stack options to a Rokka URL.
static UriInterface
addOptionsToUri(UriInterface $uri, string $options)
Allows you to add stack options to a Rokka URL.
Details
static string
addOptionsToUriString(string $url, string $options)
Allows you to add stack options to a Rokka URL.
Useful eg. if you just want to add "options-dpr-2" to an existing URL. Returns the original URL, if it can't parse it as valid Rokka URL.
static UriInterface
addOptionsToUri(UriInterface $uri, string $options)
Allows you to add stack options to a Rokka URL.
Useful eg. if you just want to add "options-dpr-2" to an existing URL Returns the original URL, if it can't parse it as valid Rokka URL.