| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| 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->getDatabaseConnectionName() . ":" |
||
| 9 | . (config("laravel-model-caching.cache-prefix") |
||
| 10 | ? config("laravel-model-caching.cache-prefix", "") . ":" |
||
| 11 | : ""); |
||
| 12 | } |
||
| 19 |