ArrayStore::forever()

void forever(string $key, mixed $value) Store an item in the cache indefinitely. Parameters string $key mixed $value Return Value void

ArrayStore::flush()

void flush() Remove all items from the cache. Return Value void

ArrayStore::decrement()

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

ArrayStore

ArrayStore class ArrayStore extends TaggableStore implements Store (View source) Traits RetrievesMultipleKeys

ArrayLoader::load()

array load(string $locale, string $group, string $namespace = null) Load the messages for the given locale. Parameters string $locale string $group string $namespace Return Value array

ArrayLoader::addNamespace()

void addNamespace(string $namespace, string $hint) Add a new namespace to the loader. Parameters string $namespace string $hint Return Value void

ArrayLoader::addMessages()

$this addMessages(string $locale, string $group, array $messages, string|null $namespace = null) Add messages to the loader. Parameters string $locale string $group array $messages string|null $namespace Return Value $this

ArrayLoader

ArrayLoader class ArrayLoader implements LoaderInterface (View source) Methods array load(string $locale, string $group, string $namespace = null) Load the messages for the given locale. void addNamespace(string $namespace, string $hint) Add a new namespace to the loader. $this addMessages(string $locale, string $group, array $messages, string|null $namespace = null) Add messages to the loader.

ArrayableInterface::toArray()

array toArray() Get the instance as an array. Return Value array

ArrayableInterface

ArrayableInterface interface ArrayableInterface (View source) Methods array toArray() Get the instance as an array.