protected function parseCurrentUrl() { $url = $this->request->getHttpClient()->getCurrentUrl(); return parse_url($url); }