Add cache option in repository layer

This commit is contained in:
Nabeel Shahzad 2017-12-27 10:44:41 -06:00
parent 9d41121840
commit 88c1277461
3 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,7 @@ return [
| Enable or disable cache
|
*/
'enabled' => true,
'enabled' => env('CACHE_ENABLED', false),
/*
|--------------------------------------------------------------------------

View File

@ -40,6 +40,7 @@ MAIL_ENCRYPTION=tls
MAIL_USERNAME=
MAIL_PASSWORD=
CACHE_ENABLED=false
CACHE_DRIVER=array
CACHE_PREFIX=

View File

@ -36,6 +36,7 @@ MAIL_ENCRYPTION=tls
MAIL_USERNAME=
MAIL_PASSWORD=
CACHE_ENABLED=false
CACHE_DRIVER={!! $CACHE_DRIVER !!}
CACHE_PREFIX=phpvms