PerRequestActorScope
in package
FinalYes
Tags
Table of Contents
Methods
- __construct() : mixed
- dispose() : void
- hasSpawned() : bool
- spawn() : ActorRef<string|int, object>
Methods
__construct()
public
__construct(ActorSystem $system, array<string, ActorRegistrationEntry> $entries, string $requestId) : mixed
Parameters
- $system : ActorSystem
- $entries : array<string, ActorRegistrationEntry>
-
Per-request entries keyed by name.
- $requestId : string
dispose()
public
dispose() : void
hasSpawned()
public
hasSpawned(string $name) : bool
Parameters
- $name : string
Return values
boolspawn()
public
spawn(string $name) : ActorRef<string|int, object>
Parameters
- $name : string