From 9d73de28406173dfe5b50122057c835e60e0943b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 22 Sep 2019 19:45:30 +0200 Subject: [PATCH] global_cache() helper --- src/helpers.php | 7 +++++++ 1 file changed, 7 insertions(+) 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'); + } +}