protected function replaceRouteGroup(&$stub, $routeGroup) { $stub = str_replace('{{routeGroup}}', $routeGroup, $stub); return $this; }