Documentation

GetAllUUIDMetadata extends ObjectsCollectionEndpoint
in package

Table of Contents

Constants

PATH  = "/v2/objects/%s/uuids"
RESPONSE_IS_JSON  = true

Properties

$cachedTransports  : array<string|int, mixed>
$customHost  : mixed
$envelope  : PNEnvelope
$filter  : string
$followRedirects  : mixed
$include  : array<string|int, mixed>
$limit  : string
$page  : array<string|int, mixed>
$pubnub  : PubNub
$sort  : array<string|int, mixed>
$uuid  : string

Methods

__construct()  : mixed
clear()  : mixed
Clear cached envelope
envelope()  : PNEnvelope
Returns an Envelope that contains both result and status.
filter()  : $this
includeFields()  : $this
limit()  : $this
page()  : $this
sort()  : $this
sync()  : mixed
Return a Result only.
uuid()  : $this
buildData()  : string
buildParams()  : array<string|int, mixed>
Params build flow: signed <- custom <- default
buildPath()  : string
createResponse()  : PNGetAllUUIDMetadataResult
customHeaders()  : mixed
customParams()  : array<string|int, mixed>
defaultHeaders()  : mixed
defaultParams()  : array<string|int, mixed>
fetchPayload()  : array<string|int, mixed>
getAffectedChannelGroups()  : mixed
getAffectedChannels()  : mixed
getAffectedUsers()  : mixed
getConnectTimeout()  : int
getName()  : string
getOperationType()  : int
getRequestTimeout()  : int
getTransport()  : mixed
httpMethod()  : string
invokeRequest()  : PNEnvelope
invokeRequestAndCacheIt()  : PNEnvelope
isAuthRequired()  : bool
requestOptions()  : array<string|int, mixed>
validateChannelGroups()  : mixed
validateParams()  : mixed
validatePublishKey()  : mixed
validateSecretKey()  : mixed
validateSubscribeKey()  : mixed
createStatus()  : PNStatus
getDefaultTransport()  : Transport

Constants

RESPONSE_IS_JSON

protected mixed RESPONSE_IS_JSON = true

Properties

$cachedTransports

protected static array<string|int, mixed> $cachedTransports = []

$customHost

protected mixed $customHost = null

$followRedirects

protected mixed $followRedirects = true

Methods

__construct()

public __construct(PubNub $pubnubInstance) : mixed
Parameters
$pubnubInstance : PubNub

clear()

Clear cached envelope

public clear() : mixed

envelope()

Returns an Envelope that contains both result and status.

public envelope() : PNEnvelope

All Errors are wrapped, so no need to use try/catch blocks

Return values
PNEnvelope

includeFields()

public includeFields(array<string|int, mixed> $include) : $this
Parameters
$include : array<string|int, mixed>
Return values
$this

page()

public page(array<string|int, mixed> $page) : $this
Parameters
$page : array<string|int, mixed>
Return values
$this

sort()

public sort(array<string|int, mixed> $sort) : $this
Parameters
$sort : array<string|int, mixed>
Return values
$this

sync()

Return a Result only.

public sync() : mixed

Errors are thrown explicitly, so catch them with try/catch block

Tags
throws
PubNubException

uuid()

public uuid(string $uuid) : $this
Parameters
$uuid : string
Return values
$this

buildData()

protected buildData() : string
Tags
throws
PubNubBuildRequestException
Return values
string

buildParams()

Params build flow: signed <- custom <- default

protected buildParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

customHeaders()

protected customHeaders() : mixed

customParams()

protected customParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

defaultHeaders()

protected defaultHeaders() : mixed

defaultParams()

protected defaultParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

fetchPayload()

protected static fetchPayload(mixed $json) : array<string|int, mixed>
Parameters
$json : mixed
Tags
throws
PubNubResponseParsingException
Return values
array<string|int, mixed>

getAffectedChannelGroups()

protected getAffectedChannelGroups() : mixed

getAffectedChannels()

protected getAffectedChannels() : mixed

getAffectedUsers()

protected getAffectedUsers() : mixed

getTransport()

protected getTransport() : mixed

httpMethod()

protected httpMethod() : string
Return values
string

PNHttpMethod

requestOptions()

protected requestOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

validateChannelGroups()

protected validateChannelGroups(array<string|int, string>|string $channels, array<string|int, string>|string $groups) : mixed
Parameters
$channels : array<string|int, string>|string
$groups : array<string|int, string>|string
Tags
throws
PubNubValidationException

        
On this page

Search results