Artisan

Artisan class Artisan (View source) Methods void __construct(Application $app) Create a new Artisan command runner instance. mixed __call(string $method, array $parameters) Dynamically pass all missing methods to console Artisan.

ArrayStore::tags()

TaggedCache tags(array|mixed $names) Begin executing a new tags operation. Parameters array|mixed $names Return Value TaggedCache

Artisan

Artisan class Artisan extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the res

ArrayStore::put()

void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void

ArrayStore::getPrefix()

string getPrefix() Get the cache key prefix. Return Value string

ArrayStore::putMany()

void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. Parameters array $values float|int $minutes Return Value void

ArrayStore::get()

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

ArrayStore::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

ArrayStore::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

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