Documentation

Manager
in package

Singleton for handling and creating processes.

Table of Contents

Properties

$instance  : Manager
Singleton instance.

Methods

__construct()  : mixed
Constructor, initiates worker processing if specified.
Create()  : self
Static function to create Singleton.
CreateProcess()  : Process
Creates a process for the specified worker.
_processWorkers()  : void
Initiates worker processing.

Properties

Methods

__construct()

Constructor, initiates worker processing if specified.

public __construct() : mixed

Create()

Static function to create Singleton.

public static Create() : self
Return values
self

CreateProcess()

Creates a process for the specified worker.

public CreateProcess(Worker $worker[, bool $debug = false ]) : Process
Parameters
$worker : Worker

The worker to be executed.

$debug : bool = false

Indicates whether to display the worker's execution command.

Return values
Process

The created process.

_processWorkers()

Initiates worker processing.

private _processWorkers() : void

        
On this page

Search results