class CoordinatorManager

Properties

static protected Coordinator> $container

A container that is used for storing coordinators.

Methods

static void
initialize(string $identifier)

Initialize a coordinator with the given identifier.

static Coordinator
until(string $identifier)

Get a coordinator by its identifier, creating one if it doesn't exist.

static void
clear(string $identifier)

Remove the coordinator by the identifier to prevent memory leaks.

static void
flushState()

Flush all static state.

Details

at line 19
static void initialize(string $identifier)

Initialize a coordinator with the given identifier.

Parameters

string $identifier

Return Value

void

at line 27
static Coordinator until(string $identifier)

Get a coordinator by its identifier, creating one if it doesn't exist.

Parameters

string $identifier

Return Value

Coordinator

at line 39
static void clear(string $identifier)

Remove the coordinator by the identifier to prevent memory leaks.

Parameters

string $identifier

Return Value

void

at line 47
static void flushState()

Flush all static state.

Return Value

void