APPNETOS is under active development This website and its documentation are being prepared for public launch. Content and features may change.
Select Theme
Loading

Runtime

Runtime and configuration value injection.

Purpose & processing

Injects the current APPNETOS runtime object returned by runtime().

Parameters

This attribute has no constructor parameters.

Example

#[Runtime]
protected \Core\Runtime|null $runtime = null;

Behavior and considerations

  • No key or configuration is required.
  • The injected object represents the current runtime and application context.

Source

shared/src/Core/Annotation/Runtime.php

Next Steps

Previous

Env

Explore Env

Next

Server

Explore Server