Symfony\Component\BrowserKit\Client::insulate PHP Method

insulate() public method

Sets the insulated flag.
public insulate ( boolean $insulated = true )
$insulated boolean Whether to insulate the requests or not
    public function insulate($insulated = true)
    {
        if ($insulated && !class_exists('Symfony\\Component\\Process\\Process')) {
            // @codeCoverageIgnoreStart
            throw new \RuntimeException('Unable to isolate requests as the Symfony Process Component is not installed.');
            // @codeCoverageIgnoreEnd
        }

        $this->insulated = (Boolean) $insulated;
    }