You are here

public function Shell::setProcessIsolation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Shell.php \Symfony\Component\Console\Shell::setProcessIsolation()

File

vendor/symfony/console/Shell.php, line 220

Class

Shell
A Shell wraps an Application to add shell capabilities to it.

Namespace

Symfony\Component\Console

Code

public function setProcessIsolation($processIsolation) {
  $this->processIsolation = (bool) $processIsolation;
  if ($this->processIsolation && !class_exists('Symfony\\Component\\Process\\Process')) {
    throw new \RuntimeException('Unable to isolate processes as the Symfony Process Component is not installed.');
  }
}