class ReloadDotenvAndConfig

Methods

__construct(Application $container, ConfigMutationTracker $configMutationTracker)

No description

void
handle(BeforeWorkerStart $event)

Reload dotenv and config before a worker starts.

void
reloadConfig()

No description

void
reloadDotenv()

Reload the selected environment file when configuration is not cached.

rebuildConfigRepository()

Rebuild the config repository through the normal foundation bootstrap path.

Details

at line 16
__construct(Application $container, ConfigMutationTracker $configMutationTracker)

No description

Parameters

Application $container
ConfigMutationTracker $configMutationTracker

at line 25
void handle(BeforeWorkerStart $event)

Reload dotenv and config before a worker starts.

Parameters

BeforeWorkerStart $event

Return Value

void

at line 31
protected void reloadConfig()

No description

Return Value

void

at line 41
protected void reloadDotenv()

Reload the selected environment file when configuration is not cached.

Return Value

void

at line 56
protected Repository rebuildConfigRepository()

Rebuild the config repository through the normal foundation bootstrap path.

Return Value

Repository