Registrar::put()

void put(string $uri, Closure|array|string $action) Register a new PUT route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::post()

void post(string $uri, Closure|array|string $action) Register a new POST route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::patch()

void patch(string $uri, Closure|array|string $action) Register a new PATCH route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::options()

void options(string $uri, Closure|array|string $action) Register a new OPTIONS route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::match()

void match(array|string $methods, string $uri, Closure|array|string $action) Register a new route with the given verbs. Parameters array|string $methods string $uri Closure|array|string $action Return Value void

Registrar::group()

void group(array $attributes, Closure $callback) Create a route group with shared attributes. Parameters array $attributes Closure $callback Return Value void

Registrar::get()

void get(string $uri, Closure|array|string $action) Register a new GET route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::delete()

void delete(string $uri, Closure|array|string $action) Register a new DELETE route with the router. Parameters string $uri Closure|array|string $action Return Value void

Registrar::create()

Authenticatable create(array $data) Create a new user instance after a valid registration. Parameters array $data Return Value Authenticatable

Registrar

Registrar interface Registrar (View source) Methods Validator validator(array $data) Get a validator for an incoming registration request. Authenticatable create(array $data) Create a new user instance after a valid registration.