Index Documentation

Routing

Table of Contents

Interfaces

RouteHandler
Provides the interface for Router::register().
Router
Provides an interface for defining HTTP routers.

Classes

HandlerAttribute
Provides base for attributes that mark methods in a class as handlers.
HttpDelete
Provides an attribute for marking methods in a class as a DELETE route.
HttpGet
Provides an attribute for marking methods in a class as a GET route.
HttpMiddleware
Provides an attribute for marking methods in a class as middleware.
HttpOptions
Provides an attribute for marking methods in a class as a OPTIONS route.
HttpPatch
Provides an attribute for marking methods in a class as a POST route.
HttpPost
Provides an attribute for marking methods in a class as a POST route.
HttpPut
Provides an attribute for marking methods in a class as a PUT route.
HttpRoute
Provides an attribute for marking methods in a class as a route.
HttpRouter
ResolvedRouteInfo
Represents a resolved route.
ScopedRouter
Provides a scoped router interface, automatically adds a prefix to any routes added.

Traits

RouteHandlerTrait
Provides an implementation of RouteHandler::registerRoutes that uses the attributes.
RouterTrait
Contains implementations for HTTP request method handler registration.

        
On this page

Search results