function AbstractBrowser::insulate
Sets the insulated flag.
Throws
LogicException When Symfony Process Component is not installed
File
-
vendor/
symfony/ browser-kit/ AbstractBrowser.php, line 115
Class
- AbstractBrowser
- Simulates a browser.
Namespace
Symfony\Component\BrowserKitCode
public function insulate(bool $insulated = true) : void {
if ($insulated && !class_exists(\Symfony\Component\Process\Process::class)) {
throw new LogicException('Unable to isolate requests as the Symfony Process Component is not installed. Try running "composer require symfony/process".');
}
$this->insulated = $insulated;
}