TaskContext
in package
implements
Cancellable
FinalYes
Tags
Table of Contents
Interfaces
Methods
- __construct() : mixed
- cancel() : void
- isCancelled() : bool
- log() : LoggerInterface
- tell() : void
- Send a message to the parent actor.
Methods
__construct()
public
__construct(ActorRef<string|int, object> $parentRef, LoggerInterface $logger) : mixed
Parameters
- $parentRef : ActorRef<string|int, object>
- $logger : LoggerInterface
cancel()
public
cancel() : void
isCancelled()
public
isCancelled() : bool
Return values
boollog()
public
log() : LoggerInterface
Return values
LoggerInterfacetell()
Send a message to the parent actor.
public
tell(object $message) : void
Parameters
- $message : object