Skip to content

struct Athena::Routing::Listeners::Routing
inherits Struct #

Sets the related ART::Action on the current request via an ART::RequestMatcherInterface.

Included modules

Athena::EventDispatcher::EventListenerInterface

Class methods#

.subscribed_events : AED::SubscribedEvents #

View source

Methods#

#call(event : ART::Events::Request, dispatcher : AED::EventDispatcherInterface) : Nil #

Assigns the resolved ART::Action and path parameters to the request.

The resolved route is dupped to avoid mutating the master copy in the singleton.

View source