QueryString
Registers a global twig function to get the query string of the current request and update or add multiple parameters.
Namespace
IO\Extensions\Functions
Extends
Methods
public construct()
public getFunctions():array
Return all available twig functions to be registered globally.
public getQueryString($params = []):string
Get the current query string from the URL.
Type |
Name |
Description |
|
An associative array of parameter keys and values to replace or add to the query string. |
Thank you for your feedback!