ActorSystemSpawner
in package
implements
ActorSpawner
Read onlyYes
FinalYes
Wires a Nexus ActorSystem into the ActorSpawner interface used by EntityRefFactory.
Tags
Table of Contents
Interfaces
- ActorSpawner
- Minimal interface for spawning named actors.
Methods
- __construct() : mixed
- spawn() : ActorRef
Methods
__construct()
public
__construct(ActorSystem $system) : mixed
Parameters
- $system : ActorSystem
spawn()
public
spawn(Props $props, string $name) : ActorRef
Parameters
- $props : Props
- $name : string