Repository::forever()

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

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

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

Repository::all()

array all() Get all of the configuration items for the application. Return Value array

Repository::all()

array all() Get all of the configuration items for the application. Return Value array

Repository::add()

bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache if the key does not exist. Parameters string $key mixed $value DateTime|float|int $minutes Return Value bool

Repository::add()

bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache if the key does not exist. Parameters string $key mixed $value DateTime|float|int $minutes Return Value bool

Repository

Repository interface Repository (View source) Methods bool has(string $key) Determine if the given configuration value exists. mixed get(string $key, mixed $default = null) Get the specified configuration value. array all() Get all of the configuration items for the application. void set(array|string $key, mixed $value = null) Set a given configuration value. void prepend(string $key, mixed $value) Prepend a value onto an array configuration value. void push(strin

Repository

Repository interface Repository (View source) Methods bool has(string $key) Determine if an item exists in the cache. mixed get(string $key, mixed $default = null) Retrieve an item from the cache by key. mixed pull(string $key, mixed $default = null) Retrieve an item from the cache and delete it. void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in

Repository

Repository class Repository implements ArrayAccess, Repository (View source) Methods void __construct(array $items = array()) Create a new configuration repository. bool has(string $key) Determine if the given configuration value exists. mixed get(string $key, mixed $default = null) Get the specified configuration value. void set(array|string $key, mixed $value = null) Set a given configuration value. void prepend(string $key, mixed $value) Prepend a value onto an arra