class InitProcessTitleListener

Properties

protected string $dot

Methods

__construct(Repository $config)

No description

void
handle(AfterWorkerStart|OnStart|OnManagerStart|BeforeProcessHandle $event)

Set the process title based on the event type.

void
setTitle(string $title)

Set the CLI process title.

bool
isSupportedOS()

Determine if the current OS supports setting process titles.

Details

at line 17
__construct(Repository $config)

No description

Parameters

Repository $config

at line 24
void handle(AfterWorkerStart|OnStart|OnManagerStart|BeforeProcessHandle $event)

Set the process title based on the event type.

Parameters

AfterWorkerStart|OnStart|OnManagerStart|BeforeProcessHandle $event

Return Value

void

at line 57
protected void setTitle(string $title)

Set the CLI process title.

Parameters

string $title

Return Value

void

at line 67
protected bool isSupportedOS()

Determine if the current OS supports setting process titles.

Return Value

bool