Skip to content

RouterInterface

module Athena::Routing::RouterInterface

Interface for routing types.

A router instance must also implement both ART::RequestMatcherInterface and ART:URLGeneratorInterface as well as expose the routes via an#route_collection` method.

Included modules

Athena::Routing::RequestMatcherInterface Athena::Routing::URLGeneratorInterface

Direct including types

Athena::Routing::Router

Methods

abstract #route_collection : ART::RouteCollection

Returns the ART::RouteCollection associated with this router.