Aerys\WorkerProcess class WorkerProcess extends Aerys\Process

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(Aerys\Logger $logger, $ipcSock, Aerys\Bootstrapper $bootstrapper = null)
No documentation.
Type Parameter Description Default Value
Aerys\Logger $logger No documentation. none
mixed $ipcSock No documentation. none
Aerys\Bootstrapper $bootstrapper No documentation. null
doStart — protected function doStart(Aerys\Console $console): Generator
No documentation.
Type Parameter Description Default Value
Aerys\Console $console No documentation. none
doStop — protected function doStop(): Generator
No documentation.
exit — protected function exit()

This function only exists as protected so we can test for its invocation

start — public function start(Aerys\Console $console): Generator

Start the process

Type Parameter Description Default Value
Aerys\Console $console No documentation. none
stop — public function stop(): Generator

Stop the process