src/B2B.php
/**
     * Do we have a current (non expired) token
     *
     * @return bool
     */
Do we have a current (non expired) token
@return bool
Do we have a current ( non expired ) token @return bool
private function hasCurrentToken()
    {
        if (!$this->token || !property_exists($this->token, 'access_token') || !$this->token->access_token) {
            return false;
        } elseif ($this->tokenIsExpired()) {
            return false;
        }
        return true;
    }
private function hasCurrentToken ( ) { if ( ! $ this -> token || ! property_exists ( $ this -> token , 'access_token' ) || ! $ this -> token -> access_token ) { return false ; } elseif ( $ this -> tokenIsExpired ( ) ) { return false ; } return true ; }
Do we have a current (non expired) token
 @return bool
Do we have a current ( non expired ) token @return bool