Skip to content

Internals Runtime Interface IRuntimeExecutor

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

runtime\interface\IRuntimeExecutor

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/runtime/interface/IRuntimeExecutor.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.

IRuntimeExecutor

Declaration and architectural role

interface IRuntimeExecutor

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
setRuntime public function setRuntime(IRuntime $runtime): void
initRuntime public function initRuntime(): void
setupEnvironment public function setupEnvironment(): void
setup public function setup(): void
execute public function execute(): void
run public function run(IRuntime $runtime): void
setDependencyRunner public function setDependencyRunner(callable $runner): void

setRuntime

Source line 5

public function setRuntime(IRuntime $runtime): void;

Parameters

Parameter Type, modifiers and default Purpose
$runtime IRuntime $runtime Runtime state carrying package metadata, flags and request registries.

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

initRuntime

Source line 6

public function initRuntime(): void;

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

setupEnvironment

Source line 7

public function setupEnvironment(): void;

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

setup

Source line 8

public function setup(): void;

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

execute

Source line 9

public function execute(): void;

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

run

Source line 10

public function run(IRuntime $runtime): void;

Parameters

Parameter Type, modifiers and default Purpose
$runtime IRuntime $runtime Runtime state carrying package metadata, flags and request registries.

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

setDependencyRunner

Source line 11

public function setDependencyRunner(callable $runner): void;

Parameters

Parameter Type, modifiers and default Purpose
$runner callable $runner 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.

Clone this wiki locally