class WebAssemblyApplication extends ApplicationAbstract

Traits

Properties

protected $_type
protected string $_group

Group name that runs the app process

from  ApplicationAbstract
protected string $_user

Username that runs the app process

from  ApplicationAbstract

Methods

void
setListener(Listener $listener)

Setup new listener

array
getListeners()

Get listeners linked to object;

bool
hasListeners()

Check if listeners are empty or not

__construct($data = null)

No description

void
setUnitRequest(UnitRequest $unitRequest)

No description

string
getType()

No description

string
getGroup()

No description

void
setGroup(string $name)

No description

string
getUser()

No description

void
setUser(string $name)

No description

array
getEnvironment()

No description

void
setEnvironment(array $environment)

No description

ProcessIsolation|null
getIsolation()

No description

void
setIsolation(ProcessIsolation $isolation)

No description

ApplicationProcess|int|null
getProcesses()

No description

void
setProcesses(ApplicationProcess|int $processes)

No description

RequestLimit|null
getLimits()

No description

void
setLimits(RequestLimit $requestLimit)

No description

string
getStdErr()

No description

void
setStdErr(string $path)

No description

string
getStdOut()

No description

void
setStdOut(string $path)

No description

string
getWorkingDirectory()

No description

void
setWorkingDirectory(string $path)

No description

string
getName()

No description

void
setName(string $name)

No description

void
parseFromArray(array $data)

No description

bool
restartApplication()

No description

array
toArray()

Get the instance as an array.

string|false
toJson()

No description

void
setModule(string $module)

No description

string
getModule()

No description

void
setRequestHandler(string $request_handler)

No description

string
getRequestHandler()

No description

void
setMallocHandler(string $malloc_handler)

No description

string
getMallocHandler()

No description

void
setFreeHandler(string $free_handler)

No description

string
getFreeHandler()

No description

void
setAccess(object $access)

No description

object
getAccess()

No description

void
setModuleInitHandler(string $module_init_handler)

No description

string
getModuleEndHandler()

No description

void
setModuleEndHandler(string $module_end_handler)

No description

string
getModuleInitHandler()

No description

void
setRequestInitHandler(string $request_init_handler)

No description

string
getRequestInitHandler()

No description

void
setRequestEndHandler(string $request_end_handler)

No description

string
getRequestEndHandler()

No description

void
setResponseEndHandler(string $response_end_handler)

No description

string
getResponseEndHandler()

No description

Details

in HasListeners at line 17
void setListener(Listener $listener)

Setup new listener

Parameters

Listener $listener

Return Value

void

in HasListeners at line 27
array getListeners()

Get listeners linked to object;

Return Value

array

in HasListeners at line 37
bool hasListeners()

Check if listeners are empty or not

Return Value

bool

in ApplicationAbstract at line 101
__construct($data = null)

No description

Parameters

$data

Exceptions

UnitException

in ApplicationAbstract at line 111
void setUnitRequest(UnitRequest $unitRequest)

No description

Parameters

UnitRequest $unitRequest

Return Value

void

in ApplicationAbstract at line 116
string getType()

No description

Return Value

string

in ApplicationAbstract at line 121
string getGroup()

No description

Return Value

string

in ApplicationAbstract at line 126
void setGroup(string $name)

No description

Parameters

string $name

Return Value

void

in ApplicationAbstract at line 131
string getUser()

No description

Return Value

string

in ApplicationAbstract at line 136
void setUser(string $name)

No description

Parameters

string $name

Return Value

void

in ApplicationAbstract at line 141
array getEnvironment()

No description

Return Value

array

in ApplicationAbstract at line 149
void setEnvironment(array $environment)

No description

Parameters

array $environment

Return Value

void

Exceptions

UnitException

in ApplicationAbstract at line 160
ProcessIsolation|null getIsolation()

No description

Return Value

ProcessIsolation|null

in ApplicationAbstract at line 165
void setIsolation(ProcessIsolation $isolation)

No description

Parameters

ProcessIsolation $isolation

Return Value

void

in ApplicationAbstract at line 170
ApplicationProcess|int|null getProcesses()

No description

Return Value

ApplicationProcess|int|null

in ApplicationAbstract at line 175
void setProcesses(ApplicationProcess|int $processes)

No description

Parameters

ApplicationProcess|int $processes

Return Value

void

in ApplicationAbstract at line 180
RequestLimit|null getLimits()

No description

Return Value

RequestLimit|null

in ApplicationAbstract at line 185
void setLimits(RequestLimit $requestLimit)

No description

Parameters

RequestLimit $requestLimit

Return Value

void

in ApplicationAbstract at line 190
string getStdErr()

No description

Return Value

string

in ApplicationAbstract at line 195
void setStdErr(string $path)

No description

Parameters

string $path

Return Value

void

in ApplicationAbstract at line 200
string getStdOut()

No description

Return Value

string

in ApplicationAbstract at line 205
void setStdOut(string $path)

No description

Parameters

string $path

Return Value

void

in ApplicationAbstract at line 210
string getWorkingDirectory()

No description

Return Value

string

in ApplicationAbstract at line 215
void setWorkingDirectory(string $path)

No description

Parameters

string $path

Return Value

void

in ApplicationAbstract at line 223
string getName()

No description

Return Value

string

in ApplicationAbstract at line 231
void setName(string $name)

No description

Parameters

string $name

Return Value

void

at line 248
final void parseFromArray(array $data)

No description

Parameters

array $data

Return Value

void

in ApplicationAbstract at line 295
bool restartApplication()

No description

Return Value

bool

at line 290
array toArray()

Get the instance as an array.

Return Value

array

in ApplicationAbstract at line 321
string|false toJson()

No description

Return Value

string|false

at line 87
void setModule(string $module)

No description

Parameters

string $module

Return Value

void

at line 95
string getModule()

No description

Return Value

string

at line 103
void setRequestHandler(string $request_handler)

No description

Parameters

string $request_handler

Return Value

void

at line 111
string getRequestHandler()

No description

Return Value

string

at line 119
void setMallocHandler(string $malloc_handler)

No description

Parameters

string $malloc_handler

Return Value

void

at line 127
string getMallocHandler()

No description

Return Value

string

at line 135
void setFreeHandler(string $free_handler)

No description

Parameters

string $free_handler

Return Value

void

at line 143
string getFreeHandler()

No description

Return Value

string

at line 151
void setAccess(object $access)

No description

Parameters

object $access

Return Value

void

at line 159
object getAccess()

No description

Return Value

object

at line 167
void setModuleInitHandler(string $module_init_handler)

No description

Parameters

string $module_init_handler

Return Value

void

at line 175
string getModuleEndHandler()

No description

Return Value

string

at line 183
void setModuleEndHandler(string $module_end_handler)

No description

Parameters

string $module_end_handler

Return Value

void

at line 191
string getModuleInitHandler()

No description

Return Value

string

at line 199
void setRequestInitHandler(string $request_init_handler)

No description

Parameters

string $request_init_handler

Return Value

void

at line 207
string getRequestInitHandler()

No description

Return Value

string

at line 216
void setRequestEndHandler(string $request_end_handler)

No description

Parameters

string $request_end_handler

Return Value

void

at line 224
string getRequestEndHandler()

No description

Return Value

string

at line 232
void setResponseEndHandler(string $response_end_handler)

No description

Parameters

string $response_end_handler

Return Value

void

at line 240
string getResponseEndHandler()

No description

Return Value

string