src/PhpCas.php
protected function redirectToCas($gateway = false)
    {
        $query['service'] = self::getDefaultService();
        if ($gateway) {
            $query['gateway'] = 'true';
        }
        self::http_redirect($this->server['login_url'] . '?' . http_build_query($query));
        // never reached
        return true;
    }
protected function redirectToCas($gateway = false)
    {
        $query['service'] = self::getDefaultService();
        if ($gateway) {
            $query['gateway'] = 'true';
        }
        self::http_redirect($this->server['login_url'] . '?' . http_build_query($query));
        // never reached
        return true;
    }
protected function redirectToCas ( $ gateway = false ) { $ query [ 'service' ] = self :: getDefaultService ( ) ; if ( $ gateway ) { $ query [ 'gateway' ] = 'true' ; } self :: http_redirect ( $ this -> server [ 'login_url' ] . '?' . http_build_query ( $ query ) ) ; // never reached return true ; }
Redirect to CAS server for login

@param bool $gateway

@return bool always true, but never reach.
Redirect to CAS server for login