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