Skip to content

Commit

Permalink
Update method.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 25, 2019
1 parent 45a7412 commit 11dd743
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
use Illuminate\Support\Facades\Facade;

/**
* @method \Symfony\Component\Routing\RouteCollection getRoutes()
* @method void addRoute(string $method, string $uri, string|object $action)
* @method void get(string $method, string|object $action)
* @method void post(string $method, string|object $action)
* @method void put(string $method, string|object $action)
* @method void patch(string $method, string|object $action)
* @method void delete(string $method, string|object $action)
* @method void webSocket(string $method, string|object $action)
*
* @see \Swarm\Server\Router
*/
class Router extends Facade
Expand Down

0 comments on commit 11dd743

Please sign in to comment.