Nexus API Reference

AsActor
in package

Read onlyYes
FinalYes
Tags
psalm-api

Marks an ActorHandler for auto-registration + auto-spawn under $name. The skeleton's Kernel registers this attribute for symfony/di autoconfiguration; a compiler pass folds every attributed handler into the ActorRegistry.

Attributes
#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Properties

$name  : string

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $name) : mixed
Parameters
$name : string
On this page

Search results