Registrar
interface Registrar (View source)
Methods
void get(string $uri, Closure|array|string $action) Register a new GET route with the router. void post(string $uri, Closure|array|string $action) Register a new POST route with the router. void put(string $uri, Closure|array|string $action) Register a new PUT route with the router. void delete(string $uri, Closure|array|string $action) Register a new DELETE route with the router. void patch(string $uri, Closure|array