private function connect()
    {
        if (!empty($this->token)) {
            return;
        }

        $this->token = $this->soapClient->login($this->user, $this->password);
    }
private function connect()
    {
        if (!empty($this->token)) {
            return;
        }

        $this->token = $this->soapClient->login($this->user, $this->password);
    }
private function connect ( ) { if ( ! empty ( $ this -> token ) ) { return ; } $ this -> token = $ this -> soapClient -> login ( $ this -> user , $ this -> password ) ; }
Login to Jira
Login to Jira