diff --git a/src/helpers.php b/src/helpers.php index 2049e9fe..86455dc0 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -40,3 +40,10 @@ if (! \function_exists('global_asset')) { return app('globalUrl')->asset($asset); } } + +if (! \function_exists('global_cache')) { + function global_cache() + { + return app('globalCache'); + } +}