CompositeProcessEnvironmentConfigurator
Class
implements
ProcessEnvironmentConfiguratorInterface
Read only:
Yes
Final:
Yes
Applies multiple process environment configurators in a stable order.
Interfaces
ProcessEnvironmentConfiguratorInterface
Configures subprocess environment variables before queued execution.
Properties
: iterable<string|int, mixed>
Methods
: mixed
configure()
: void
Configures environment variables for a queued process.
public
__construct(
iterable<string|int, ProcessEnvironmentConfiguratorInterface>
$configurators) : mixed
Parameters
Description
ordered environment configurators
Configures environment variables for a queued process.
public
configure(Process
$process, OutputInterface
$output) : void
Parameters
$process
:
Process
Description
the queued process that will be started
$output
:
OutputInterface
Description
the parent output used to infer console capabilities