response_manager ( $callback, $params )

Provides a simple, straightforward cache-logic mechanism. Useful for non-complex response caches.

Access

public

Parameters

Parameter

Type

Required

Description

$callback

string
function

Required

The name of the function to fire when we need to fetch new data to cache.

$params

array

Optional

Parameters to pass into the callback function, as an array.

Returns

Type

Description

array

The cached data being requested.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback