Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Process.php

function Process::setWorkingDirectory

Sets the current working directory.

Return value

$this

File

vendor/symfony/process/Process.php, line 1104

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function setWorkingDirectory(string $cwd) : static {
    $this->cwd = $cwd;
    return $this;
}
RSS feed
Powered by Drupal