Nexus API Reference

FromActor
in package

Read onlyYes
FinalYes
Tags
psalm-api

Inject an actor reference registered with HttpApp. Works on constructor parameters (constructor injection) and on handler/middleware invocation method parameters.

Constructor params may reference PoolSingleton or WorkerLocal actors only. Method params may reference any mode including PerRequest.

Table of Contents

Properties

$name  : string

Methods

__construct()  : mixed

Attributes

#[Attribute]

#[Attribute]

Properties

Methods

__construct()

public __construct(string $name) : mixed
Parameters
$name : string

        
On this page

Search results