protected function switcher($view, $capture, $viewName)
    {
        if (Strings::contains($view, "@capture('$capture')")) {
            return "@capture('$capture'):";
        } elseif (Strings::contains($view, '@capture("'.$capture.'")')) {
            return '@capture("'.$capture.'"):';
        } else {
            throw new AromiumCaptureNotFoundException($capture, $viewName);
        }
    }