__construct() __construct(resource $socket) Create a new worker using the given socket for communication. Parameters resource $socket
setLocal() setLocal(array|string $local, $value = null) Set local variables to be placed in the workers's scope. Parameters array|string $local $value
setStartHooks() setStartHooks(array $hooks) Set hooks to run inside the worker before it starts looping. Parameters array $hooks
setFailureHooks() setFailureHooks(array $hooks) Set hooks to run inside the worker after a fatal error is caught. Parameters array $hooks
setInspector() setInspector(object $inspector) Set an Inspector object for Boris to output return values with. Parameters object $inspector any object the responds to inspect($v)
delegateExceptionHandler() delegateExceptionHandler( $ex) If any user-defined exception handler is present, call it, but be sure to exit correctly. Parameters $ex