mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
global_cache() helper
This commit is contained in:
parent
4a17992957
commit
9d73de2840
1 changed files with 7 additions and 0 deletions
|
|
@ -40,3 +40,10 @@ if (! \function_exists('global_asset')) {
|
||||||
return app('globalUrl')->asset($asset);
|
return app('globalUrl')->asset($asset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! \function_exists('global_cache')) {
|
||||||
|
function global_cache()
|
||||||
|
{
|
||||||
|
return app('globalCache');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue