PythonApplication
class PythonApplication 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
No description
Get the instance as an array.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
in
HasListeners at line 17
void
setListener(Listener $listener)
Setup new listener
in
HasListeners at line 27
array
getListeners()
Get listeners linked to object;
in
HasListeners at line 37
bool
hasListeners()
Check if listeners are empty or not
in
ApplicationAbstract at line 101
__construct($data = null)
No description
in
ApplicationAbstract at line 111
void
setUnitRequest(UnitRequest $unitRequest)
No description
in
ApplicationAbstract at line 116
string
getType()
No description
in
ApplicationAbstract at line 121
string
getGroup()
No description
in
ApplicationAbstract at line 126
void
setGroup(string $name)
No description
in
ApplicationAbstract at line 131
string
getUser()
No description
in
ApplicationAbstract at line 136
void
setUser(string $name)
No description
in
ApplicationAbstract at line 141
array
getEnvironment()
No description
in
ApplicationAbstract at line 149
void
setEnvironment(array $environment)
No description
in
ApplicationAbstract at line 160
ProcessIsolation|null
getIsolation()
No description
in
ApplicationAbstract at line 165
void
setIsolation(ProcessIsolation $isolation)
No description
in
ApplicationAbstract at line 170
ApplicationProcess|int|null
getProcesses()
No description
in
ApplicationAbstract at line 175
void
setProcesses(ApplicationProcess|int $processes)
No description
in
ApplicationAbstract at line 180
RequestLimit|null
getLimits()
No description
in
ApplicationAbstract at line 185
void
setLimits(RequestLimit $requestLimit)
No description
in
ApplicationAbstract at line 190
string
getStdErr()
No description
in
ApplicationAbstract at line 195
void
setStdErr(string $path)
No description
in
ApplicationAbstract at line 200
string
getStdOut()
No description
in
ApplicationAbstract at line 205
void
setStdOut(string $path)
No description
in
ApplicationAbstract at line 210
string
getWorkingDirectory()
No description
in
ApplicationAbstract at line 215
void
setWorkingDirectory(string $path)
No description
in
ApplicationAbstract at line 223
string
getName()
No description
in
ApplicationAbstract at line 231
void
setName(string $name)
No description
at line 147
final void
parseFromArray(array $data)
No description
in
ApplicationAbstract at line 295
bool
restartApplication()
No description
at line 198
array
toArray()
Get the instance as an array.
in
ApplicationAbstract at line 321
string|false
toJson()
No description
in
HasThreads at line 18
int
getThreads()
No description
in
HasThreads at line 26
void
setThreads(int $threads)
No description
in
HasThreadStackSize at line 17
int|null
getThreadStackSize()
No description
in
HasThreadStackSize at line 25
void
setThreadStackSize(int $thread_stack_size)
No description
in
HasTargets at line 12
array
getTargets()
No description
in
HasTargets at line 20
void
setTargets(array $targets)
No description
at line 51
void
setModule(string $module)
No description
at line 59
string
getModule()
No description
at line 67
void
setCallable(string $callable)
No description
at line 75
string
getCallable()
No description
at line 83
void
setHome(string $home)
No description
at line 91
string
getHome()
No description
at line 99
void
setPath(array|string $path)
No description
at line 107
array|string
getPath()
No description
at line 115
void
setPrefix(string $prefix)
No description
at line 123
string
getPrefix()
No description
at line 131
void
setProtocol(string $protocol)
No description
at line 139
string
getProtocol()
No description