\Osiset\BasicShopifyAPI\StoreMemory

In-memory storage for timestamps used by rate limit middleware.

Based on spatie/guzzle-rate-limiter-middleware

Summary

Methods
Properties
Constants
all()
get()
set()
push()
No public properties found
No constants found
No protected methods found
$container
N/A
No private methods found
No private properties found
N/A

Properties

$container

$container : array

The data container.

Type

array

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.