\Osiset\BasicShopifyAPI\ContractsStateStorage

Reprecents basic state storage.

Based on spatie/guzzle-rate-limiter-middleware

Summary

Methods
Constants
all()
get()
set()
push()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

all()

all() : array

Get all container values.

Returns

array

get()

get(\Osiset\BasicShopifyAPI\Session  $session) : array

Get the values.

Parameters

\Osiset\BasicShopifyAPI\Session $session

The shop session.

Returns

array

set()

set(array  $values, \Osiset\BasicShopifyAPI\Session  $session) : void

Set the values.

Parameters

array $values

The values to set.

\Osiset\BasicShopifyAPI\Session $session

The shop session.

push()

push(mixed  $value, \Osiset\BasicShopifyAPI\Session  $session) : void

Set the values.

Parameters

mixed $value

The value to add.

\Osiset\BasicShopifyAPI\Session $session

The shop session.