Skip to content

Internals Runtime Interface Api IRuntimeRouterCapabilities

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

runtime\interface\api\IRuntimeRouterCapabilities

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/runtime/interface/api/IRuntimeRouterCapabilities.php · Snapshot 8411f4287706.

Runtime state, package API classes, loader, executor and orchestrator have separate responsibilities. Dependency validation precedes package code and nested execution restores context.

IRuntimeRouterCapabilities

Declaration and architectural role

interface IRuntimeRouterCapabilities extends IRuntimeBaseCapabilities

Constants, enum cases, traits and properties

No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.

Method index

Method Signature
addRouter public function addRouter(\router\interface\IRoute $router): void
getRouters public function getRouters(): array

addRouter

Source line 20

public function addRouter(\router\interface\IRoute $router): void;

Parameters

Parameter Type, modifiers and default Purpose
$router \router\interface\IRoute $router Operation input; the exact use, validation and propagation are shown in the implementation trace.

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

getRouters

Source line 21

public function getRouters(): array;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

Related types

Clone this wiki locally