File tree Expand file tree Collapse file tree 3 files changed +9
-27
lines changed
Expand file tree Collapse file tree 3 files changed +9
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55namespace DragonCode \Cache \Services ;
66
77use DragonCode \Cache \Concerns \Call ;
8- use DragonCode \Cache \Facades \Support \CacheManager ;
98use DragonCode \Cache \Facades \Support \Key ;
109use DragonCode \Cache \Facades \Support \Tag ;
11- use DragonCode \Cache \Support \CacheManager as Manager ;
10+ use DragonCode \Cache \Support \CacheManager ;
1211use DragonCode \Support \Concerns \Makeable ;
1312
1413/**
@@ -94,8 +93,8 @@ public function has(): bool
9493 return false ;
9594 }
9695
97- protected function manager (): Manager
96+ protected function manager (): CacheManager
9897 {
99- return CacheManager::tags ($ this ->tags );
98+ return CacheManager::make ()-> tags ($ this ->tags );
10099 }
101100}
Original file line number Diff line number Diff line change 77use DragonCode \Cache \Services \Storages \MainStore ;
88use DragonCode \Cache \Services \Storages \TaggedStore ;
99use DragonCode \Contracts \Cache \Store ;
10+ use DragonCode \Support \Concerns \Makeable ;
1011use Illuminate \Support \Facades \Cache ;
1112
13+ /**
14+ * @method static CacheManager make()
15+ */
1216class CacheManager implements Store
1317{
18+ use Makeable;
19+
1420 protected $ tags = [];
1521
1622 public function tags (array $ tags ): CacheManager
You can’t perform that action at this time.
0 commit comments