Skip to content

Commit 0996571

Browse files
committed
feat: add flushQueryCache and flushQueryCacheWithTag as annotations to trait QueryCacheable
1 parent 2d64b53 commit 0996571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Traits/QueryCacheable.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
use Rennokki\QueryCache\FlushQueryCacheObserver;
66
use Rennokki\QueryCache\Query\Builder;
77

8+
/**
9+
* @method static bool flushQueryCache(string[] $array = [])
10+
* @method static bool flushQueryCacheWithTag(string $string)
11+
*/
812
trait QueryCacheable
913
{
1014
/**

0 commit comments

Comments
 (0)