protected function getIntendedUrl(UrlImmutable $url)
    {
        $intendedQuery = $url->getQuery();

        $intendedQuery->modify([
            $this->expiresParameter   => null,
            $this->signatureParameter => null,
        ]);

        $intendedUrl = $url->setQuery($intendedQuery);

        return $intendedUrl;
    }
protected function getIntendedUrl(UrlImmutable $url)
    {
        $intendedQuery = $url->getQuery();

        $intendedQuery->modify([
            $this->expiresParameter   => null,
            $this->signatureParameter => null,
        ]);

        $intendedUrl = $url->setQuery($intendedQuery);

        return $intendedUrl;
    }
protected function getIntendedUrl ( UrlImmutable $ url ) { $ intendedQuery = $ url -> getQuery ( ) ; $ intendedQuery -> modify ( [ $ this -> expiresParameter => null , $ this -> signatureParameter => null , ] ) ; $ intendedUrl = $ url -> setQuery ( $ intendedQuery ) ; return $ intendedUrl ; }
Retrieve the intended URL by stripping off the UrlSigner specific parameters.

@param \League\Url\UrlImmutable $url

@return \League\Url\UrlImmutable
Retrieve the intended URL by stripping off the UrlSigner specific parameters .