Client
Methods | ||
---|---|---|
public
|
__construct(Config $config)
|
# |
public
|
getServer(): object
|
# |
public
|
getToken(): array
|
# |
public
|
auth(): mixed
|
# |
public
static
|
setOrgUidHeader(string $tenantId): void
|
# |
protected
|
_request(string $type, string $url, array $params = []): array
|
# |
public
|
get(string $url, array $params = []): mixed
|
# |
public
|
post(string $url, array $params = []): mixed
|
# |
public
|
put(string $url, array $params = []): mixed
|
# |
public
|
delete(string $url, array $params = []): mixed
|
# |
Constants | ||
---|---|---|
public
|
DATA_FORMAT = 'json'
|
# |
Properties | |||
---|---|---|---|
protected
static
|
Entry
|
$_epoint = UPWORK_API_EP_NAME
|
# |
protected
static
|
Organization
|
$_tenantId = null
|
# |
protected
|
Server
|
$_server
|
# |