Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace GeneaLabs\LaravelModelCaching\Traits; |
||
5 | protected function getCachePrefix() : string |
||
6 | { |
||
7 | return "genealabs:laravel-model-caching:" |
||
8 | . $this->getConnectionName() . ":" |
||
9 | . $this->getDatabaseName() . ":" |
||
10 | . (config("laravel-model-caching.cache-prefix") |
||
11 | ? config("laravel-model-caching.cache-prefix", "") . ":" |
||
12 | : ""); |
||
13 | } |
||
25 |