Repository::hasMacro()

static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool

Repository::increment()

int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

Repository::increment()

int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

Repository::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Repository::many()

array many(array $keys) Retrieve multiple items from the cache by key. Items not found in the cache will have a null value. Parameters array $keys Return Value array

Repository::offsetExists()

bool offsetExists(string $key) Determine if a cached value exists. Parameters string $key Return Value bool

Repository::offsetExists()

bool offsetExists(string $key) Determine if the given configuration option exists. Parameters string $key Return Value bool

Repository::offsetGet()

mixed offsetGet(string $key) Retrieve an item from the cache by key. Parameters string $key Return Value mixed

Repository::offsetGet()

mixed offsetGet(string $key) Get a configuration option. Parameters string $key Return Value mixed

Repository::offsetSet()

void offsetSet(string $key, mixed $value) Store an item in the cache for the default time. Parameters string $key mixed $value Return Value void