Skip to content

Commit 45033ed

Browse files
authored
Add Route::inertia() IDE helper (#413)
1 parent fe89e08 commit 45033ed

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

_ide_helpers.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,25 @@ class TestResponse
2929
//
3030
}
3131
}
32+
33+
namespace Illuminate\Support\Facades {
34+
35+
/**
36+
* @method static self inertia(string $uri, string $component, array $props = [])
37+
*/
38+
class Route
39+
{
40+
//
41+
}
42+
}
43+
44+
namespace Illuminate\Routing {
45+
46+
/**
47+
* @method self inertia(string $uri, string $component, array $props = [])
48+
*/
49+
class Router
50+
{
51+
//
52+
}
53+
}

0 commit comments

Comments
 (0)