public function join($url, $users=TRUE)
    {
      if ($users)
        return $this->endpoint . "/v1/users/" . $this->uid . "/" . $url;

      return $this->endpoint . "/v1/". $url; 
    }
public function join($url, $users=TRUE)
    {
      if ($users)
        return $this->endpoint . "/v1/users/" . $this->uid . "/" . $url;

      return $this->endpoint . "/v1/". $url; 
    }
public function join ( $ url , $ users = TRUE ) { if ( $ users ) return $ this -> endpoint . "/v1/users/" . $ this -> uid . "/" . $ url ; return $ this -> endpoint . "/v1/" . $ url ; }
Concatenate URL according to Catapult endpoints

In some cases we dont need to join,
As a result this should only provide the user id, and base string
@param url: partial url
Concatenate URL according to Catapult endpoints