File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 33namespace Farbcode \StatefulResources \Facades ;
44
55use Farbcode \StatefulResources \ActiveState as ActiveStateService ;
6+ use Farbcode \StatefulResources \Contracts \ResourceState ;
67use Illuminate \Support \Facades \Facade ;
78
89/**
9- * @method static void setShared(string $state)
10+ * @method static void setShared(string|ResourceState $state)
1011 * @method static string getShared()
11- * @method static void setForResource(string $resourceClass, string $state)
12+ * @method static void setForResource(string $resourceClass, string|ResourceState $state)
1213 * @method static string getForResource(string $resourceClass)
14+ * @method static bool matchesShared(string|ResourceState $state)
15+ * @method static bool matchesResource(string $resourceClass, string|ResourceState $state)
16+ * @method static string get(?string $resourceClass = null)
17+ * @method static void set(string|ResourceState $state, ?string $resourceClass = null)
18+ * @method static bool matches(string|ResourceState $state, ?string $resourceClass = null)
1319 */
1420class ActiveState extends Facade
1521{
You can’t perform that action at this time.
0 commit comments