Nexus API Reference

RouteSummary
in package

Read onlyYes
FinalYes
Tags
psalm-api

Public, serialisable view of one registered route. Returned by HttpApp::registeredRoutes() for index pages, smoke tests, and admin tooling that need to enumerate the surface area without coupling to internal Route state.

Table of Contents

Properties

$handler  : string
$method  : string
$name  : string|null
$path  : string

Methods

__construct()  : mixed
fromRoute()  : self

Properties

Methods

__construct()

public __construct(string $method, string $path, string|null $name, string $handler) : mixed
Parameters
$method : string
$path : string
$name : string|null
$handler : string

        
On this page

Search results