Skip to content

Commit

Permalink
Merge pull request #485 from alies-dev/patch-1
Browse files Browse the repository at this point in the history
Add PHPDoc for ResponseCache Facade
  • Loading branch information
Nielsvanpach authored Nov 18, 2024
2 parents efb1ecd + 1ab7a6f commit 5fb7804
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Facades/ResponseCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@

/**
* @method static void clear(array $tags = [])
* @method static void forget(string|array $key)
* @method static bool enabled(\Illuminate\Http\Request $request)
* @method static bool shouldCache(\Illuminate\Http\Request $request, \Symfony\Component\HttpFoundation\Response $response)
* @method static bool shouldBypass(\Illuminate\Http\Request $request)
* @method static \Symfony\Component\HttpFoundation\Response cacheResponse(\Illuminate\Http\Request $request, \Symfony\Component\HttpFoundation\Response $response, ?int $lifetimeInSeconds = null, array $tags = [])
* @method static bool hasBeenCached(\Illuminate\Http\Request $request, array $tags = [])
* @method static \Symfony\Component\HttpFoundation\Response getCachedResponseFor(\Illuminate\Http\Request $request, array $tags = [])
* @method static Spatie\ResponseCache\CacheItemSelector\CacheItemSelector selectCachedItems()
*/
class ResponseCache extends Facade
{
Expand Down

0 comments on commit 5fb7804

Please sign in to comment.