class SupervisorOutOfMemory

Properties

float|int $memoryUsage

The memory usage that exceeded the allowable limit.

Methods

__construct(Supervisor $supervisor)

Create a new event instance.

float|int
getMemoryUsage()

Get the memory usage that triggered the event.

setMemoryUsage(float|int $memoryUsage)

Set the memory usage that was recorded when the event was dispatched.

Details

at line 21
__construct(Supervisor $supervisor)

Create a new event instance.

Parameters

Supervisor $supervisor

the supervisor instance

at line 29
float|int getMemoryUsage()

Get the memory usage that triggered the event.

Return Value

float|int

at line 37
SupervisorOutOfMemory setMemoryUsage(float|int $memoryUsage)

Set the memory usage that was recorded when the event was dispatched.

Parameters

float|int $memoryUsage

Return Value

SupervisorOutOfMemory