public function redirect($url)
    {
        return new RedirectResponse(
            sprintf(self::PRE_AUTH_LINK, $this->getSuiteId(), $this->getCode(), urlencode($url))
        );
    }
public function redirect($url)
    {
        return new RedirectResponse(
            sprintf(self::PRE_AUTH_LINK, $this->getSuiteId(), $this->getCode(), urlencode($url))
        );
    }
public function redirect ( $ url ) { return new RedirectResponse ( sprintf ( self :: PRE_AUTH_LINK , $ this -> getSuiteId ( ) , $ this -> getCode ( ) , urlencode ( $ url ) ) ) ; }
Redirect to WeChat PreAuthorization page.

@param string $url

@return \Symfony\Component\HttpFoundation\RedirectResponse
Redirect to WeChat PreAuthorization page .