Nexus API Reference

ActorRegistration
in package

FinalYes
Tags
psalm-api

Fluent setter returned by HttpApp::actor() / perRequestActor(). Mutates the entry in the registry. The terminal accessors freeze into ActorRegistrationEntry at compile time.

Table of Contents

Methods

__construct()  : mixed
currentMailbox()  : MailboxConfig|null
currentMode()  : ActorMode
currentSupervision()  : SupervisionStrategy|null
mode()  : self
name()  : string
poolSingleton()  : self
withMailbox()  : self
withSupervision()  : self
workerLocal()  : self

Methods

currentMailbox()

public currentMailbox() : MailboxConfig|null
Return values
MailboxConfig|null

withMailbox()

public withMailbox(MailboxConfig $config) : self
Parameters
$config : MailboxConfig
Return values
self

        
On this page

Search results