Get path wir params

Hey,

about $page->url() I get unfortunately only the url without the parameters. How do I get the complete url including parameters (e.g. https://example.com/customer/id;13)?

Thanks a lot + greetings

Hi, could you provide some more context what you want to achieve? do you want to get the current URL with all bells and whistles?

$page->url() just prints the url of the current page object.

With Url::current() you get the current url with params and query strings.