\Osiset\BasicShopifyAPI\TraitsIsRequestType

Determine GraphQL or REST request type.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
isGraphRequest()
isRestRequest()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

isGraphRequest()

isGraphRequest(string  $uri) : boolean

Determines if the request is to Graph API.

Parameters

string $uri

The request URI.

Returns

boolean

isRestRequest()

isRestRequest(string  $uri) : boolean

Determines if the request is to REST API.

Parameters

string $uri

The request URI.

Returns

boolean