Skip to content

WorkingDirectorySwitcher

github-actions edited this page Apr 28, 2026 · 1 revision

Applies Composer-like working-directory switching for the standalone binary.


Methods

switchTo

Switches to the provided working directory when one is configured.

public switchTo(string|null $workingDirectory): void

Parameters:

Parameter Type Description
$workingDirectory string|null the target working directory, or null when no switch is requested

Clone this wiki locally