protected function extractUrlArgument(RequestInterface $request) { $this->addCommandPart(escapeshellarg((string) $request->getUri()->withFragment(''))); }