ProcessEnvironmentConfiguratorInterface

Interface

Configures subprocess environment variables before queued execution.

Table of Contents

Methods

configure()

Configures environment variables for a queued process.

 : void
Methods

configure()

Public

Configures environment variables for a queued process.

public configure(Process  $process, OutputInterface  $output) : void

Description

Implementations MUST preserve process-specific environment values that callers already configured before enqueueing the process.

Parameters
$process : Process

Description

the queued process that will be started

$output : OutputInterface

Description

the parent output used to infer console capabilities