Add helpers

This commit is contained in:
Daniel Supernault 2021-05-07 21:37:10 -06:00
parent 3136f8e137
commit c6848e99a4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 103 additions and 91 deletions

9
app/helpers.php Normal file
View File

@ -0,0 +1,9 @@
<?php
use App\Services\ConfigCacheService;
if (!function_exists('config_cache')) {
function config_cache($key) {
return ConfigCacheService::get($key);
}
}

View File

@ -63,7 +63,10 @@
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"files": [
"app/helpers.php"
]
},
"extra": {
"laravel": {