WorkingDirectorySwitcherInterface

Interface

Switches the process working directory before command execution starts.

Table of Contents

Methods

switchTo()

Switches to the provided working directory when one is configured.

 : void
Methods

switchTo()

Public

Switches to the provided working directory when one is configured.

public switchTo( string|null  $workingDirectory) : void
Parameters
$workingDirectory : string|null

Description

the target working directory, or null when no switch is requested