Logo

Miscellaneous Functions

abort abort_if abort_unless app auth back bcrypt blank broadcast cache class_uses_recursive collect config cookie csrf_field csrf_token dd dispatch dump env event filled info logger method_field now old optional policy redirect report request rescue resolve response retry session tap throw_if throw_unless today trait_uses_recursive transform validator value view with

cache

Logo symfony/var-dumper symfony/var-dumper
The cache function may be used to get values from the cache. If the given key does not exist in the cache, an optional default value will be returned:
<?php $value = cache('key');

$value = cache('key', 'default');