Browse Source

use class

Taylor Otwell 5 years ago
parent
commit
a5fc02d832
1 changed files with 3 additions and 1 deletions
  1. 3 1
      config/cache.php

+ 3 - 1
config/cache.php

@@ -1,5 +1,7 @@
 <?php
 
+use Illuminate\Support\Str;
+
 return [
 
     /*
@@ -88,7 +90,7 @@ return [
 
     'prefix' => env(
         'CACHE_PREFIX',
-        str_slug(env('APP_NAME', 'laravel'), '_').'_cache'
+        Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'
     ),
 
 ];