Nexus API Reference

Dispatcher
in package

Read onlyYes
FinalYes
Tags
psalm-api

Thin wrapper over FastRoute. Stores Route objects in a side table so the matched id can be resolved back to the Route. (FastRoute returns the handler payload — we pass the route id and look up by id.)

Table of Contents

Methods

build()  : self
dispatch()  : DispatchResult

Methods

build()

public static build(array<int, Route$routes) : self
Parameters
$routes : array<int, Route>
Return values
self

        
On this page

Search results